startup-builder 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +120 -0
- package/dist/chunk-ZR74VEI2.js +2322 -0
- package/dist/cli.js +338 -188
- package/dist/index.d.ts +660 -430
- package/dist/index.js +77 -17
- package/package.json +23 -16
- package/dist/chunk-NWM7TYW6.js +0 -1004
package/dist/index.js
CHANGED
|
@@ -1,20 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
Api,
|
|
3
|
+
Auth,
|
|
4
|
+
DEFAULT_API,
|
|
5
|
+
Leases,
|
|
6
|
+
Session,
|
|
7
|
+
TOOLS,
|
|
8
|
+
VERDICTS,
|
|
9
|
+
WorklistError,
|
|
10
|
+
agentEnv,
|
|
11
|
+
agentPrompt,
|
|
12
|
+
apiBase,
|
|
13
|
+
batchText,
|
|
14
|
+
buildWorklist,
|
|
15
|
+
checkBody,
|
|
16
|
+
closeTask,
|
|
17
|
+
closeText,
|
|
18
|
+
closesOf,
|
|
19
|
+
collectionOf,
|
|
20
|
+
derivePriority,
|
|
21
|
+
doVerb,
|
|
22
|
+
fetchWorklistMarkdown,
|
|
23
|
+
findClosesOn,
|
|
24
|
+
groupBatch,
|
|
25
|
+
heldByNames,
|
|
26
|
+
leasesDir,
|
|
27
|
+
mcpServer,
|
|
28
|
+
parseWorker,
|
|
29
|
+
pkce,
|
|
30
|
+
printRunner,
|
|
31
|
+
renderPrompt,
|
|
32
|
+
runCloud,
|
|
33
|
+
selectBatch,
|
|
34
|
+
stepOf,
|
|
35
|
+
tokenFile,
|
|
36
|
+
unwrapState,
|
|
37
|
+
verbPath,
|
|
38
|
+
work,
|
|
39
|
+
worklistPath
|
|
40
|
+
} from "./chunk-ZR74VEI2.js";
|
|
11
41
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
42
|
+
Api,
|
|
43
|
+
Auth,
|
|
44
|
+
DEFAULT_API,
|
|
45
|
+
Leases,
|
|
46
|
+
Session,
|
|
47
|
+
TOOLS,
|
|
48
|
+
VERDICTS,
|
|
49
|
+
WorklistError,
|
|
50
|
+
agentEnv,
|
|
51
|
+
agentPrompt,
|
|
52
|
+
apiBase,
|
|
53
|
+
batchText,
|
|
54
|
+
buildWorklist,
|
|
55
|
+
checkBody,
|
|
56
|
+
closeTask,
|
|
57
|
+
closeText,
|
|
58
|
+
closesOf,
|
|
59
|
+
collectionOf,
|
|
60
|
+
derivePriority,
|
|
61
|
+
doVerb,
|
|
62
|
+
fetchWorklistMarkdown,
|
|
63
|
+
findClosesOn,
|
|
64
|
+
groupBatch,
|
|
65
|
+
heldByNames,
|
|
66
|
+
leasesDir,
|
|
67
|
+
mcpServer,
|
|
68
|
+
parseWorker,
|
|
69
|
+
pkce,
|
|
70
|
+
printRunner,
|
|
71
|
+
renderPrompt,
|
|
72
|
+
runCloud,
|
|
73
|
+
selectBatch,
|
|
74
|
+
stepOf,
|
|
75
|
+
tokenFile,
|
|
76
|
+
unwrapState,
|
|
77
|
+
verbPath,
|
|
78
|
+
work,
|
|
79
|
+
worklistPath
|
|
20
80
|
};
|
package/package.json
CHANGED
|
@@ -1,41 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "startup-builder",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "The command line and MCP server for api.sb: an agent's queue (queue, claim, prompt, show, close, renew, release), worklists, versions and revert, in a compact grammar; the local work loop.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"bin": {
|
|
16
16
|
"startup-builder": "dist/cli.js"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
|
-
"dist"
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
20
22
|
],
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"dev": "tsup --watch",
|
|
24
|
-
"check-types": "tsc --noEmit",
|
|
25
|
-
"test": "vitest run",
|
|
26
|
-
"clean": "rm -rf dist .turbo"
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=20"
|
|
27
25
|
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"agents",
|
|
28
|
+
"api.sb",
|
|
29
|
+
"claude-code",
|
|
30
|
+
"cli",
|
|
31
|
+
"mcp",
|
|
32
|
+
"queue",
|
|
33
|
+
"startups",
|
|
34
|
+
"worklist"
|
|
35
|
+
],
|
|
28
36
|
"dependencies": {
|
|
29
37
|
"xstate": "^5",
|
|
30
|
-
"startups.studio": "0.6.0",
|
|
31
38
|
"commander": "^12.1.0",
|
|
32
|
-
"picocolors": "^1.1.0"
|
|
39
|
+
"picocolors": "^1.1.0",
|
|
40
|
+
"@modelcontextprotocol/sdk": "^1.27.1"
|
|
33
41
|
},
|
|
34
42
|
"devDependencies": {
|
|
35
|
-
"@
|
|
43
|
+
"@types/node": "^22",
|
|
36
44
|
"tsup": "^8",
|
|
37
|
-
"typescript": "^5"
|
|
38
|
-
"@types/node": "^22"
|
|
45
|
+
"typescript": "^5"
|
|
39
46
|
},
|
|
40
47
|
"publishConfig": {
|
|
41
48
|
"access": "public"
|