GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — admin unshare · coty/opencode@b7b09fd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/enterprise
    • package.json
    • script
      • scrap.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/enterprise/package.json‎

Copy file name to clipboardExpand all lines: packages/enterprise/package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"dev": "vite dev",
1010
"build": "vite build",
1111
"build:cloudflare": "OPENCODE_DEPLOYMENT_TARGET=cloudflare vite build",
12-
"start": "vite start"
12+
"start": "vite start",
13+
"shell-prod": "sst shell --target Teams --stage production"
1314
},
1415
"dependencies": {
1516
"@opencode-ai/util": "workspace:*",
Collapse file

‎packages/enterprise/script/scrap.ts‎

Copy file name to clipboard
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Storage } from "../src/core/storage"
2+
3+
// read share id from args
4+
const args = process.argv.slice(2)
5+
if (args.length !== 1) {
6+
console.error("Usage: bun script/scrap.ts <shareID>")
7+
process.exit(1)
8+
}
9+
const shareID = args[0]
10+
11+
await Storage.remove(["share", shareID])
12+
const list = await Storage.list({ prefix: ["share_data", shareID] })
13+
for (const item of list) {
14+
await Storage.remove(item)
15+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.