@vibecodr/cli 0.2.11 → 1.0.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/CHANGELOG.md +57 -23
- package/MIGRATION.md +73 -0
- package/README.md +89 -72
- package/dist/auth/official-client.d.ts +6 -0
- package/dist/auth/official-client.d.ts.map +1 -0
- package/dist/auth/official-client.js +1 -0
- package/dist/auth/official-client.js.map +1 -0
- package/dist/auth/token-manager.d.ts +40 -0
- package/dist/auth/token-manager.d.ts.map +1 -0
- package/dist/auth/token-manager.js +1 -2
- package/dist/auth/token-manager.js.map +1 -0
- package/dist/bin/vc-tools.d.ts +3 -0
- package/dist/bin/vc-tools.d.ts.map +1 -0
- package/dist/bin/vc-tools.js +7 -0
- package/dist/bin/vc-tools.js.map +1 -0
- package/dist/bin/vibecodr-mcp.d.ts +3 -0
- package/dist/bin/vibecodr-mcp.d.ts.map +1 -0
- package/dist/bin/vibecodr-mcp.js +37 -0
- package/dist/bin/vibecodr-mcp.js.map +1 -0
- package/dist/cli/errors.d.ts +28 -0
- package/dist/cli/errors.d.ts.map +1 -0
- package/dist/cli/errors.js +1 -0
- package/dist/cli/errors.js.map +1 -0
- package/dist/cli/output.d.ts +16 -0
- package/dist/cli/output.d.ts.map +1 -0
- package/dist/cli/output.js +1 -0
- package/dist/cli/output.js.map +1 -0
- package/dist/cli/parse.d.ts +18 -0
- package/dist/cli/parse.d.ts.map +1 -0
- package/dist/cli/parse.js +1 -0
- package/dist/cli/parse.js.map +1 -0
- package/dist/clients/base.d.ts +20 -0
- package/dist/clients/base.d.ts.map +1 -0
- package/dist/clients/base.js +1 -0
- package/dist/clients/base.js.map +1 -0
- package/dist/clients/claude-code.d.ts +5 -0
- package/dist/clients/claude-code.d.ts.map +1 -0
- package/dist/clients/claude-code.js +88 -0
- package/dist/clients/claude-code.js.map +1 -0
- package/dist/clients/claude-desktop.d.ts +5 -0
- package/dist/clients/claude-desktop.d.ts.map +1 -0
- package/dist/clients/claude-desktop.js +97 -0
- package/dist/clients/claude-desktop.js.map +1 -0
- package/dist/clients/codex.d.ts +5 -0
- package/dist/clients/codex.d.ts.map +1 -0
- package/dist/clients/codex.js +1 -0
- package/dist/clients/codex.js.map +1 -0
- package/dist/clients/cursor.d.ts +5 -0
- package/dist/clients/cursor.d.ts.map +1 -0
- package/dist/clients/cursor.js +1 -1
- package/dist/clients/cursor.js.map +1 -0
- package/dist/clients/vscode.d.ts +5 -0
- package/dist/clients/vscode.d.ts.map +1 -0
- package/dist/clients/vscode.js +5 -1
- package/dist/clients/vscode.js.map +1 -0
- package/dist/clients/windsurf.d.ts +5 -0
- package/dist/clients/windsurf.d.ts.map +1 -0
- package/dist/clients/windsurf.js +1 -0
- package/dist/clients/windsurf.js.map +1 -0
- package/dist/commands/call.d.ts +9 -0
- package/dist/commands/call.d.ts.map +1 -0
- package/dist/commands/call.js +1 -0
- package/dist/commands/call.js.map +1 -0
- package/dist/commands/config.d.ts +3 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +1 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/context.d.ts +15 -0
- package/dist/commands/context.d.ts.map +1 -0
- package/dist/commands/context.js +2 -5
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/doctor.d.ts +3 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +2 -1
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/help.d.ts +3 -0
- package/dist/commands/help.d.ts.map +1 -0
- package/dist/commands/help.js +1 -0
- package/dist/commands/help.js.map +1 -0
- package/dist/commands/install.d.ts +3 -0
- package/dist/commands/install.d.ts.map +1 -0
- package/dist/commands/install.js +23 -5
- package/dist/commands/install.js.map +1 -0
- package/dist/commands/login.d.ts +3 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +1 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/logout.d.ts +3 -0
- package/dist/commands/logout.d.ts.map +1 -0
- package/dist/commands/logout.js +1 -0
- package/dist/commands/logout.js.map +1 -0
- package/dist/commands/pulse-publish.d.ts +3 -0
- package/dist/commands/pulse-publish.d.ts.map +1 -0
- package/dist/commands/pulse-publish.js +1 -0
- package/dist/commands/pulse-publish.js.map +1 -0
- package/dist/commands/pulse-setup.d.ts +3 -0
- package/dist/commands/pulse-setup.d.ts.map +1 -0
- package/dist/commands/pulse-setup.js +5 -3
- package/dist/commands/pulse-setup.js.map +1 -0
- package/dist/commands/pulse.d.ts +3 -0
- package/dist/commands/pulse.d.ts.map +1 -0
- package/dist/commands/pulse.js +1 -0
- package/dist/commands/pulse.js.map +1 -0
- package/dist/commands/status.d.ts +3 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +1 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/tools.d.ts +3 -0
- package/dist/commands/tools.d.ts.map +1 -0
- package/dist/commands/tools.js +1 -0
- package/dist/commands/tools.js.map +1 -0
- package/dist/commands/uninstall.d.ts +3 -0
- package/dist/commands/uninstall.d.ts.map +1 -0
- package/dist/commands/uninstall.js +12 -4
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/upload.d.ts +3 -0
- package/dist/commands/upload.d.ts.map +1 -0
- package/dist/commands/upload.js +1 -0
- package/dist/commands/upload.js.map +1 -0
- package/dist/commands/whoami.d.ts +3 -0
- package/dist/commands/whoami.d.ts.map +1 -0
- package/dist/commands/whoami.js +82 -0
- package/dist/commands/whoami.js.map +1 -0
- package/dist/core/interactive-input.d.ts +7 -0
- package/dist/core/interactive-input.d.ts.map +1 -0
- package/dist/core/interactive-input.js +1 -0
- package/dist/core/interactive-input.js.map +1 -0
- package/dist/core/mcp-client.d.ts +17 -0
- package/dist/core/mcp-client.d.ts.map +1 -0
- package/dist/core/mcp-client.js +1 -0
- package/dist/core/mcp-client.js.map +1 -0
- package/dist/core/redaction.d.ts +2 -0
- package/dist/core/redaction.d.ts.map +1 -0
- package/dist/core/redaction.js +36 -2
- package/dist/core/redaction.js.map +1 -0
- package/dist/core/renderers.d.ts +8 -0
- package/dist/core/renderers.d.ts.map +1 -0
- package/dist/core/renderers.js +1 -0
- package/dist/core/renderers.js.map +1 -0
- package/dist/doctor/run.d.ts +10 -0
- package/dist/doctor/run.d.ts.map +1 -0
- package/dist/doctor/run.js +12 -3
- package/dist/doctor/run.js.map +1 -0
- package/dist/legacy/cli/errors.d.ts +9 -0
- package/dist/legacy/cli/errors.d.ts.map +1 -0
- package/dist/legacy/cli/errors.js +23 -0
- package/dist/legacy/cli/errors.js.map +1 -0
- package/dist/legacy/cli/install.d.ts +24 -0
- package/dist/legacy/cli/install.d.ts.map +1 -0
- package/dist/legacy/cli/install.js +307 -0
- package/dist/legacy/cli/install.js.map +1 -0
- package/dist/legacy/cli/output.d.ts +17 -0
- package/dist/legacy/cli/output.d.ts.map +1 -0
- package/dist/legacy/cli/output.js +36 -0
- package/dist/legacy/cli/output.js.map +1 -0
- package/dist/legacy/cli/parser.d.ts +33 -0
- package/dist/legacy/cli/parser.d.ts.map +1 -0
- package/dist/legacy/cli/parser.js +177 -0
- package/dist/legacy/cli/parser.js.map +1 -0
- package/dist/legacy/cli/run.d.ts +11 -0
- package/dist/legacy/cli/run.d.ts.map +1 -0
- package/dist/legacy/cli/run.js +2947 -0
- package/dist/legacy/cli/run.js.map +1 -0
- package/dist/legacy/config/credential-store.d.ts +8 -0
- package/dist/legacy/config/credential-store.d.ts.map +1 -0
- package/dist/legacy/config/credential-store.js +52 -0
- package/dist/legacy/config/credential-store.js.map +1 -0
- package/dist/legacy/config/store.d.ts +63 -0
- package/dist/legacy/config/store.d.ts.map +1 -0
- package/dist/legacy/config/store.js +311 -0
- package/dist/legacy/config/store.js.map +1 -0
- package/dist/legacy/core/api-client.d.ts +45 -0
- package/dist/legacy/core/api-client.d.ts.map +1 -0
- package/dist/legacy/core/api-client.js +204 -0
- package/dist/legacy/core/api-client.js.map +1 -0
- package/dist/legacy/core/contracts.d.ts +488 -0
- package/dist/legacy/core/contracts.d.ts.map +1 -0
- package/dist/legacy/core/contracts.js +386 -0
- package/dist/legacy/core/contracts.js.map +1 -0
- package/dist/legacy/core/goal-coverage.d.ts +15 -0
- package/dist/legacy/core/goal-coverage.d.ts.map +1 -0
- package/dist/legacy/core/goal-coverage.js +169 -0
- package/dist/legacy/core/goal-coverage.js.map +1 -0
- package/dist/legacy/core/redaction.d.ts +4 -0
- package/dist/legacy/core/redaction.d.ts.map +1 -0
- package/dist/legacy/core/redaction.js +121 -0
- package/dist/legacy/core/redaction.js.map +1 -0
- package/dist/legacy/core/validators.d.ts +8 -0
- package/dist/legacy/core/validators.d.ts.map +1 -0
- package/dist/legacy/core/validators.js +102 -0
- package/dist/legacy/core/validators.js.map +1 -0
- package/dist/legacy/core/version.d.ts +3 -0
- package/dist/legacy/core/version.d.ts.map +1 -0
- package/dist/legacy/core/version.js +3 -0
- package/dist/legacy/core/version.js.map +1 -0
- package/dist/legacy/index.d.ts +8 -0
- package/dist/legacy/index.d.ts.map +1 -0
- package/dist/legacy/index.js +8 -0
- package/dist/legacy/index.js.map +1 -0
- package/dist/platform/browser.d.ts +7 -0
- package/dist/platform/browser.d.ts.map +1 -0
- package/dist/platform/browser.js +1 -0
- package/dist/platform/browser.js.map +1 -0
- package/dist/platform/exec.d.ts +3 -0
- package/dist/platform/exec.d.ts.map +1 -0
- package/dist/platform/exec.js +10 -1
- package/dist/platform/exec.js.map +1 -0
- package/dist/platform/paths.d.ts +9 -0
- package/dist/platform/paths.d.ts.map +1 -0
- package/dist/platform/paths.js +13 -0
- package/dist/platform/paths.js.map +1 -0
- package/dist/platform/prompt.d.ts +5 -0
- package/dist/platform/prompt.d.ts.map +1 -0
- package/dist/platform/prompt.js +1 -0
- package/dist/platform/prompt.js.map +1 -0
- package/dist/storage/config-store.d.ts +15 -0
- package/dist/storage/config-store.d.ts.map +1 -0
- package/dist/storage/config-store.js +1 -0
- package/dist/storage/config-store.js.map +1 -0
- package/dist/storage/file-lock.d.ts +7 -0
- package/dist/storage/file-lock.d.ts.map +1 -0
- package/dist/storage/file-lock.js +1 -0
- package/dist/storage/file-lock.js.map +1 -0
- package/dist/storage/install-manifest.d.ts +12 -0
- package/dist/storage/install-manifest.d.ts.map +1 -0
- package/dist/storage/install-manifest.js +1 -0
- package/dist/storage/install-manifest.js.map +1 -0
- package/dist/storage/secret-store.d.ts +36 -0
- package/dist/storage/secret-store.d.ts.map +1 -0
- package/dist/storage/secret-store.js +1 -0
- package/dist/storage/secret-store.js.map +1 -0
- package/dist/types/auth.d.ts +55 -0
- package/dist/types/auth.d.ts.map +1 -0
- package/dist/types/auth.js +1 -0
- package/dist/types/auth.js.map +1 -0
- package/dist/types/config.d.ts +29 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +1 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/install.d.ts +26 -0
- package/dist/types/install.d.ts.map +1 -0
- package/dist/types/install.js +1 -0
- package/dist/types/install.js.map +1 -0
- package/docs/API-CONTRACT.md +606 -0
- package/docs/CLOUDFLARE-PRIMITIVE-FIT.md +212 -0
- package/docs/RELEASE-CHECKLIST.md +297 -0
- package/docs/SECURITY.md +227 -0
- package/docs/VALIDATION-MATRIX.md +58 -0
- package/docs/commands.md +49 -29
- package/docs/legacy/AGENT-TOOLKIT-RFC.md +1395 -0
- package/docs/legacy/CLI-GUIDELINES-AUDIT.md +95 -0
- package/docs/legacy/COMPLETION-AUDIT.md +542 -0
- package/docs/legacy/vc-tools-finetune.md +982 -0
- package/docs/legacy/vc-tools-goal-browser-run-containers.md +465 -0
- package/docs/legacy/vc-tools-goal-original.md +249 -0
- package/package.json +37 -8
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
export declare const CAPABILITIES: readonly ["browser.render_url", "browser.screenshot_url", "browser.extract_markdown", "browser.render_pdf", "browser.crawl_site", "browser.agent_task", "sandbox.run_command", "sandbox.run_tests", "artifact.create", "artifact.get", "usage.read", "job.status", "job.cancel"];
|
|
2
|
+
export type CapabilityName = (typeof CAPABILITIES)[number];
|
|
3
|
+
export declare const CAPABILITY_ALIASES: Record<string, CapabilityName>;
|
|
4
|
+
export declare const DASHBOARD_SECTIONS: readonly [{
|
|
5
|
+
readonly id: "overview";
|
|
6
|
+
readonly label: "Running work";
|
|
7
|
+
readonly purpose: "What the agent is doing now, recent output, and the next safe action.";
|
|
8
|
+
}, {
|
|
9
|
+
readonly id: "jobs";
|
|
10
|
+
readonly label: "Recent work";
|
|
11
|
+
readonly purpose: "Recent hosted work status, cancellation state, and failures.";
|
|
12
|
+
}, {
|
|
13
|
+
readonly id: "artifacts";
|
|
14
|
+
readonly label: "Saved proof";
|
|
15
|
+
readonly purpose: "Stored screenshots, PDFs, logs, files, and retention status.";
|
|
16
|
+
}, {
|
|
17
|
+
readonly id: "usage";
|
|
18
|
+
readonly label: "Usage left";
|
|
19
|
+
readonly purpose: "Agent Computer capacity, browser work, computer work, proof storage, and running jobs.";
|
|
20
|
+
}, {
|
|
21
|
+
readonly id: "agents";
|
|
22
|
+
readonly label: "Connected agents";
|
|
23
|
+
readonly purpose: "Hosted MCP connection details and agent-native tool names.";
|
|
24
|
+
}, {
|
|
25
|
+
readonly id: "grants";
|
|
26
|
+
readonly label: "Tool grants";
|
|
27
|
+
readonly purpose: "Workspace, project, and user-scoped capability grants.";
|
|
28
|
+
}, {
|
|
29
|
+
readonly id: "retention";
|
|
30
|
+
readonly label: "Retention";
|
|
31
|
+
readonly purpose: "Log and artifact retention controls, with recording policy reserved and off by default.";
|
|
32
|
+
}, {
|
|
33
|
+
readonly id: "billing";
|
|
34
|
+
readonly label: "Billing";
|
|
35
|
+
readonly purpose: "Plan packaging and included quota.";
|
|
36
|
+
}];
|
|
37
|
+
export declare const OPERATOR_DASHBOARD_SECTIONS: readonly [{
|
|
38
|
+
readonly id: "cogs";
|
|
39
|
+
readonly label: "COGS";
|
|
40
|
+
readonly purpose: "Internal cost pressure by hosted-tool surface, threshold, and plan.";
|
|
41
|
+
}];
|
|
42
|
+
export type DashboardSectionId = (typeof DASHBOARD_SECTIONS)[number]["id"] | (typeof OPERATOR_DASHBOARD_SECTIONS)[number]["id"];
|
|
43
|
+
export declare const DEFAULT_PLANS: readonly [{
|
|
44
|
+
readonly name: "Free";
|
|
45
|
+
readonly priceUsdMonthly: 0;
|
|
46
|
+
readonly status: "local-only";
|
|
47
|
+
readonly limits: {
|
|
48
|
+
readonly monthlyCredits: 30;
|
|
49
|
+
readonly dailyCredits: 10;
|
|
50
|
+
readonly maxConcurrentRuns: 1;
|
|
51
|
+
readonly browser: {
|
|
52
|
+
readonly defaultLane: "quick-action";
|
|
53
|
+
readonly monthlyBrowserSeconds: number;
|
|
54
|
+
readonly dailyBrowserSeconds: number;
|
|
55
|
+
readonly maxBrowserSecondsPerRun: 30;
|
|
56
|
+
readonly allowBrowserSessions: false;
|
|
57
|
+
readonly maxBrowserSessionSeconds: 0;
|
|
58
|
+
readonly maxConcurrentBrowserSessionsPerUser: 0;
|
|
59
|
+
};
|
|
60
|
+
readonly crawl: {
|
|
61
|
+
readonly maxPagesPerRun: 10;
|
|
62
|
+
readonly maxPagesPerMonth: 25;
|
|
63
|
+
readonly maxDepth: 1;
|
|
64
|
+
};
|
|
65
|
+
readonly scheduledQa: {
|
|
66
|
+
readonly maxRunsPerMonth: 0;
|
|
67
|
+
readonly minIntervalMinutes: 0;
|
|
68
|
+
};
|
|
69
|
+
readonly sandbox: {
|
|
70
|
+
readonly containerInstanceType: "none";
|
|
71
|
+
readonly maxSandboxTaskSeconds: 0;
|
|
72
|
+
};
|
|
73
|
+
readonly browserRenderJobsMonthly: 30;
|
|
74
|
+
readonly browserMinutesMonthly: 30;
|
|
75
|
+
readonly sandboxJobsMonthly: 0;
|
|
76
|
+
readonly sandboxMinutesMonthly: 0;
|
|
77
|
+
readonly artifactStorageGb: 0;
|
|
78
|
+
readonly artifactRetentionDays: 0;
|
|
79
|
+
readonly maxArtifactUploadBytes: 0;
|
|
80
|
+
readonly concurrentBrowserSessions: 0;
|
|
81
|
+
readonly concurrentSandboxJobs: 0;
|
|
82
|
+
};
|
|
83
|
+
readonly posture: {
|
|
84
|
+
readonly authenticatedBrowsing: "disabled";
|
|
85
|
+
readonly browserRecording: "disabled";
|
|
86
|
+
readonly sandboxNetwork: "disabled";
|
|
87
|
+
readonly crawl: "disabled";
|
|
88
|
+
readonly spendCap: "not-applicable";
|
|
89
|
+
};
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "Creator";
|
|
92
|
+
readonly priceUsdMonthly: 19;
|
|
93
|
+
readonly limits: {
|
|
94
|
+
readonly monthlyCredits: 600;
|
|
95
|
+
readonly dailyCredits: 90;
|
|
96
|
+
readonly maxConcurrentRuns: 2;
|
|
97
|
+
readonly browser: {
|
|
98
|
+
readonly defaultLane: "quick-action";
|
|
99
|
+
readonly monthlyBrowserSeconds: number;
|
|
100
|
+
readonly dailyBrowserSeconds: number;
|
|
101
|
+
readonly maxBrowserSecondsPerRun: 60;
|
|
102
|
+
readonly allowBrowserSessions: true;
|
|
103
|
+
readonly maxBrowserSessionSeconds: number;
|
|
104
|
+
readonly maxConcurrentBrowserSessionsPerUser: 1;
|
|
105
|
+
};
|
|
106
|
+
readonly crawl: {
|
|
107
|
+
readonly maxPagesPerRun: 50;
|
|
108
|
+
readonly maxPagesPerMonth: 500;
|
|
109
|
+
readonly maxDepth: 2;
|
|
110
|
+
};
|
|
111
|
+
readonly scheduledQa: {
|
|
112
|
+
readonly maxRunsPerMonth: 30;
|
|
113
|
+
readonly minIntervalMinutes: 720;
|
|
114
|
+
};
|
|
115
|
+
readonly sandbox: {
|
|
116
|
+
readonly containerInstanceType: "standard-1";
|
|
117
|
+
readonly maxSandboxTaskSeconds: number;
|
|
118
|
+
};
|
|
119
|
+
readonly browserRenderJobsMonthly: 600;
|
|
120
|
+
readonly browserMinutesMonthly: 600;
|
|
121
|
+
readonly sandboxJobsMonthly: 600;
|
|
122
|
+
readonly sandboxMinutesMonthly: 600;
|
|
123
|
+
readonly artifactStorageGb: 1;
|
|
124
|
+
readonly artifactRetentionDays: 7;
|
|
125
|
+
readonly maxArtifactUploadBytes: number;
|
|
126
|
+
readonly concurrentBrowserSessions: 1;
|
|
127
|
+
readonly concurrentSandboxJobs: 2;
|
|
128
|
+
};
|
|
129
|
+
readonly posture: {
|
|
130
|
+
readonly authenticatedBrowsing: "disabled";
|
|
131
|
+
readonly browserRecording: "disabled";
|
|
132
|
+
readonly sandboxNetwork: "public-egress-private-deny";
|
|
133
|
+
readonly crawl: "disabled-or-limited";
|
|
134
|
+
readonly spendCap: "hard-by-default";
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "Pro";
|
|
138
|
+
readonly priceUsdMonthly: 39;
|
|
139
|
+
readonly limits: {
|
|
140
|
+
readonly monthlyCredits: 3000;
|
|
141
|
+
readonly dailyCredits: 400;
|
|
142
|
+
readonly maxConcurrentRuns: 5;
|
|
143
|
+
readonly browser: {
|
|
144
|
+
readonly defaultLane: "quick-action";
|
|
145
|
+
readonly monthlyBrowserSeconds: number;
|
|
146
|
+
readonly dailyBrowserSeconds: number;
|
|
147
|
+
readonly maxBrowserSecondsPerRun: 180;
|
|
148
|
+
readonly allowBrowserSessions: true;
|
|
149
|
+
readonly maxBrowserSessionSeconds: 3600;
|
|
150
|
+
readonly maxConcurrentBrowserSessionsPerUser: 1;
|
|
151
|
+
};
|
|
152
|
+
readonly crawl: {
|
|
153
|
+
readonly maxPagesPerRun: 250;
|
|
154
|
+
readonly maxPagesPerMonth: 5000;
|
|
155
|
+
readonly maxDepth: 4;
|
|
156
|
+
};
|
|
157
|
+
readonly scheduledQa: {
|
|
158
|
+
readonly maxRunsPerMonth: 300;
|
|
159
|
+
readonly minIntervalMinutes: 60;
|
|
160
|
+
};
|
|
161
|
+
readonly sandbox: {
|
|
162
|
+
readonly containerInstanceType: "standard-2";
|
|
163
|
+
readonly maxSandboxTaskSeconds: number;
|
|
164
|
+
};
|
|
165
|
+
readonly browserRenderJobsMonthly: 3000;
|
|
166
|
+
readonly browserMinutesMonthly: 3000;
|
|
167
|
+
readonly sandboxJobsMonthly: 3000;
|
|
168
|
+
readonly sandboxMinutesMonthly: 3000;
|
|
169
|
+
readonly artifactStorageGb: 10;
|
|
170
|
+
readonly artifactRetentionDays: 30;
|
|
171
|
+
readonly maxArtifactUploadBytes: number;
|
|
172
|
+
readonly concurrentBrowserSessions: 1;
|
|
173
|
+
readonly concurrentSandboxJobs: 2;
|
|
174
|
+
};
|
|
175
|
+
readonly posture: {
|
|
176
|
+
readonly authenticatedBrowsing: "allowlisted-beta";
|
|
177
|
+
readonly browserRecording: "opt-in";
|
|
178
|
+
readonly sandboxNetwork: "public-egress-private-deny";
|
|
179
|
+
readonly crawl: "add-on-or-limited";
|
|
180
|
+
readonly spendCap: "soft-with-warnings";
|
|
181
|
+
};
|
|
182
|
+
}];
|
|
183
|
+
export declare const OVERAGE_METERS: readonly [{
|
|
184
|
+
readonly id: "browser-minute";
|
|
185
|
+
readonly label: "Browser minute";
|
|
186
|
+
readonly unit: "minute";
|
|
187
|
+
readonly priceUsdRange: "$0.02-$0.05";
|
|
188
|
+
}, {
|
|
189
|
+
readonly id: "sandbox-compute-minute";
|
|
190
|
+
readonly label: "Sandbox compute minute";
|
|
191
|
+
readonly unit: "minute";
|
|
192
|
+
readonly priceUsdRange: "$0.03-$0.08";
|
|
193
|
+
}, {
|
|
194
|
+
readonly id: "artifact-storage-pack";
|
|
195
|
+
readonly label: "Additional artifact storage";
|
|
196
|
+
readonly unit: "50 GB-month";
|
|
197
|
+
readonly priceUsdRange: "$5";
|
|
198
|
+
}, {
|
|
199
|
+
readonly id: "retention-pack";
|
|
200
|
+
readonly label: "Additional retention";
|
|
201
|
+
readonly unit: "workspace-month";
|
|
202
|
+
readonly priceUsdRange: "$10-$25";
|
|
203
|
+
}, {
|
|
204
|
+
readonly id: "browser-concurrency-slot";
|
|
205
|
+
readonly label: "Extra browser concurrency slot";
|
|
206
|
+
readonly unit: "slot-month";
|
|
207
|
+
readonly priceUsdRange: "$10-$20";
|
|
208
|
+
}, {
|
|
209
|
+
readonly id: "sandbox-concurrency-slot";
|
|
210
|
+
readonly label: "Extra sandbox concurrency slot";
|
|
211
|
+
readonly unit: "slot-month";
|
|
212
|
+
readonly priceUsdRange: "$20-$50";
|
|
213
|
+
}, {
|
|
214
|
+
readonly id: "crawl-pack";
|
|
215
|
+
readonly label: "Public crawl pack";
|
|
216
|
+
readonly unit: "page-volume pack";
|
|
217
|
+
readonly priceUsdRange: "$10-$50";
|
|
218
|
+
}];
|
|
219
|
+
export type PublicOfferingStatus = "shipped" | "gated beta" | "internal-only" | "future";
|
|
220
|
+
export declare const PUBLIC_OFFERING_CLASSIFICATIONS: readonly [{
|
|
221
|
+
readonly id: "browser.quick_actions";
|
|
222
|
+
readonly label: "Browser Quick Actions";
|
|
223
|
+
readonly status: "shipped";
|
|
224
|
+
readonly summary: "Short public-HTTPS browser checks for render, screenshot, markdown, and PDF output.";
|
|
225
|
+
}, {
|
|
226
|
+
readonly id: "browser.render";
|
|
227
|
+
readonly label: "Browser render";
|
|
228
|
+
readonly status: "shipped";
|
|
229
|
+
readonly summary: "Public-HTTPS render checks through the Quick Action lane.";
|
|
230
|
+
}, {
|
|
231
|
+
readonly id: "browser.screenshot";
|
|
232
|
+
readonly label: "Browser screenshot";
|
|
233
|
+
readonly status: "shipped";
|
|
234
|
+
readonly summary: "Public-HTTPS screenshot artifacts through the Quick Action lane.";
|
|
235
|
+
}, {
|
|
236
|
+
readonly id: "browser.markdown";
|
|
237
|
+
readonly label: "Browser markdown extraction";
|
|
238
|
+
readonly status: "shipped";
|
|
239
|
+
readonly summary: "Public-HTTPS content extraction through the Quick Action lane.";
|
|
240
|
+
}, {
|
|
241
|
+
readonly id: "browser.pdf";
|
|
242
|
+
readonly label: "Browser PDF render";
|
|
243
|
+
readonly status: "shipped";
|
|
244
|
+
readonly summary: "Public-HTTPS PDF artifacts through the Quick Action lane.";
|
|
245
|
+
}, {
|
|
246
|
+
readonly id: "browser.sessions";
|
|
247
|
+
readonly label: "Browser Sessions";
|
|
248
|
+
readonly status: "gated beta";
|
|
249
|
+
readonly summary: "Paid Agent Browser tasks with plan caps, idle closure, and no third-party auth by default.";
|
|
250
|
+
}, {
|
|
251
|
+
readonly id: "browser.recording_replay";
|
|
252
|
+
readonly label: "Browser recording/replay";
|
|
253
|
+
readonly status: "future";
|
|
254
|
+
readonly summary: "Recording policy is reserved and off by default; recording/replay is not a public tool.";
|
|
255
|
+
}, {
|
|
256
|
+
readonly id: "browser.interactive_debugging";
|
|
257
|
+
readonly label: "Browser interactive debugging";
|
|
258
|
+
readonly status: "future";
|
|
259
|
+
readonly summary: "Interactive browser debugging is not part of the public launch surface.";
|
|
260
|
+
}, {
|
|
261
|
+
readonly id: "crawl.public";
|
|
262
|
+
readonly label: "Crawl";
|
|
263
|
+
readonly status: "gated beta";
|
|
264
|
+
readonly summary: "Bounded public-HTTPS crawl jobs with page, depth, month, and artifact limits.";
|
|
265
|
+
}, {
|
|
266
|
+
readonly id: "crawl.deep";
|
|
267
|
+
readonly label: "Deep crawl";
|
|
268
|
+
readonly status: "future";
|
|
269
|
+
readonly summary: "Deep crawl pricing hooks are reserved; no public deep-crawl product ships in v1.";
|
|
270
|
+
}, {
|
|
271
|
+
readonly id: "scheduled_qa";
|
|
272
|
+
readonly label: "Scheduled QA";
|
|
273
|
+
readonly status: "gated beta";
|
|
274
|
+
readonly summary: "Plan-capped periodic Browser Quick Actions that enqueue public-HTTPS render, screenshot, markdown, or PDF checks through the hosted queue.";
|
|
275
|
+
}, {
|
|
276
|
+
readonly id: "sandbox.command";
|
|
277
|
+
readonly label: "Sandbox command";
|
|
278
|
+
readonly status: "gated beta";
|
|
279
|
+
readonly summary: "Paid hosted command diagnostics with plan duration, concurrency, and artifact caps.";
|
|
280
|
+
}, {
|
|
281
|
+
readonly id: "sandbox.tests";
|
|
282
|
+
readonly label: "Sandbox tests";
|
|
283
|
+
readonly status: "gated beta";
|
|
284
|
+
readonly summary: "Paid hosted test-command diagnostics with the same sandbox limits.";
|
|
285
|
+
}, {
|
|
286
|
+
readonly id: "sandbox.network";
|
|
287
|
+
readonly label: "Sandbox network access";
|
|
288
|
+
readonly status: "gated beta";
|
|
289
|
+
readonly summary: "Paid Agent Computers can reach public HTTP(S) package/docs endpoints by default; private, local, link-local, metadata, and internal destinations are blocked.";
|
|
290
|
+
}, {
|
|
291
|
+
readonly id: "artifacts";
|
|
292
|
+
readonly label: "Artifacts";
|
|
293
|
+
readonly status: "gated beta";
|
|
294
|
+
readonly summary: "Account-scoped artifact list, create, read, pull, delete, storage caps, and retention.";
|
|
295
|
+
}, {
|
|
296
|
+
readonly id: "jobs";
|
|
297
|
+
readonly label: "Durable jobs";
|
|
298
|
+
readonly status: "shipped";
|
|
299
|
+
readonly summary: "Hosted work status, list, and cancellation records for accepted tool runs.";
|
|
300
|
+
}, {
|
|
301
|
+
readonly id: "dashboard";
|
|
302
|
+
readonly label: "Dashboard";
|
|
303
|
+
readonly status: "gated beta";
|
|
304
|
+
readonly summary: "Authenticated hosted dashboard sections; internal COGS remains operator-only.";
|
|
305
|
+
}, {
|
|
306
|
+
readonly id: "grants";
|
|
307
|
+
readonly label: "Grants";
|
|
308
|
+
readonly status: "shipped";
|
|
309
|
+
readonly summary: "Scoped tool grants for workspace, project, user, and plan capability checks.";
|
|
310
|
+
}, {
|
|
311
|
+
readonly id: "retention";
|
|
312
|
+
readonly label: "Retention";
|
|
313
|
+
readonly status: "shipped";
|
|
314
|
+
readonly summary: "Log and artifact retention controls; recording policy remains off by default.";
|
|
315
|
+
}, {
|
|
316
|
+
readonly id: "overage_meters";
|
|
317
|
+
readonly label: "Overage meters";
|
|
318
|
+
readonly status: "internal-only";
|
|
319
|
+
readonly summary: "Compatibility and operator cost-pressure metadata only; no automatic customer charges.";
|
|
320
|
+
}, {
|
|
321
|
+
readonly id: "stripe_metered_billing";
|
|
322
|
+
readonly label: "Stripe metered billing";
|
|
323
|
+
readonly status: "future";
|
|
324
|
+
readonly summary: "Not implemented for launch; quota exhaustion blocks work unless an opt-in billing lane ships later.";
|
|
325
|
+
}];
|
|
326
|
+
export declare const LAUNCH_TOOL_GRANTS: readonly [{
|
|
327
|
+
readonly grant: "browser.render";
|
|
328
|
+
readonly capability: "browser.render_url";
|
|
329
|
+
readonly defaultScope: "workspace";
|
|
330
|
+
readonly phase: "included";
|
|
331
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
332
|
+
}, {
|
|
333
|
+
readonly grant: "browser.screenshot";
|
|
334
|
+
readonly capability: "browser.screenshot_url";
|
|
335
|
+
readonly defaultScope: "workspace";
|
|
336
|
+
readonly phase: "included";
|
|
337
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
338
|
+
}, {
|
|
339
|
+
readonly grant: "browser.markdown";
|
|
340
|
+
readonly capability: "browser.extract_markdown";
|
|
341
|
+
readonly defaultScope: "workspace";
|
|
342
|
+
readonly phase: "included";
|
|
343
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
344
|
+
}, {
|
|
345
|
+
readonly grant: "browser.pdf";
|
|
346
|
+
readonly capability: "browser.render_pdf";
|
|
347
|
+
readonly defaultScope: "workspace";
|
|
348
|
+
readonly phase: "included";
|
|
349
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
350
|
+
}, {
|
|
351
|
+
readonly grant: "browser.automate";
|
|
352
|
+
readonly capability: "browser.render_url";
|
|
353
|
+
readonly defaultScope: "project";
|
|
354
|
+
readonly phase: "pro-workflows";
|
|
355
|
+
readonly allowedPlans: readonly ["Pro"];
|
|
356
|
+
}, {
|
|
357
|
+
readonly grant: "browser.live_view";
|
|
358
|
+
readonly capability: "browser.render_url";
|
|
359
|
+
readonly defaultScope: "user";
|
|
360
|
+
readonly phase: "pro-workflows";
|
|
361
|
+
readonly allowedPlans: readonly ["Pro"];
|
|
362
|
+
}, {
|
|
363
|
+
readonly grant: "browser.record";
|
|
364
|
+
readonly capability: "browser.render_url";
|
|
365
|
+
readonly defaultScope: "project";
|
|
366
|
+
readonly phase: "pro-workflows";
|
|
367
|
+
readonly allowedPlans: readonly ["Pro"];
|
|
368
|
+
}, {
|
|
369
|
+
readonly grant: "browser.agent_task";
|
|
370
|
+
readonly capability: "browser.agent_task";
|
|
371
|
+
readonly defaultScope: "project";
|
|
372
|
+
readonly phase: "paid-workflows";
|
|
373
|
+
readonly allowedPlans: readonly ["Creator", "Pro"];
|
|
374
|
+
}, {
|
|
375
|
+
readonly grant: "sandbox.run";
|
|
376
|
+
readonly capability: "sandbox.run_command";
|
|
377
|
+
readonly defaultScope: "workspace";
|
|
378
|
+
readonly phase: "paid-alpha";
|
|
379
|
+
readonly allowedPlans: readonly ["Creator", "Pro"];
|
|
380
|
+
}, {
|
|
381
|
+
readonly grant: "sandbox.tests";
|
|
382
|
+
readonly capability: "sandbox.run_tests";
|
|
383
|
+
readonly defaultScope: "workspace";
|
|
384
|
+
readonly phase: "paid-alpha";
|
|
385
|
+
readonly allowedPlans: readonly ["Creator", "Pro"];
|
|
386
|
+
}, {
|
|
387
|
+
readonly grant: "sandbox.network";
|
|
388
|
+
readonly capability: "sandbox.run_command";
|
|
389
|
+
readonly defaultScope: "workspace";
|
|
390
|
+
readonly phase: "included-limited";
|
|
391
|
+
readonly allowedPlans: readonly ["Creator", "Pro"];
|
|
392
|
+
}, {
|
|
393
|
+
readonly grant: "sandbox.preview_url";
|
|
394
|
+
readonly capability: "sandbox.run_command";
|
|
395
|
+
readonly defaultScope: "project";
|
|
396
|
+
readonly phase: "pro-workflows";
|
|
397
|
+
readonly allowedPlans: readonly ["Pro"];
|
|
398
|
+
}, {
|
|
399
|
+
readonly grant: "artifact.write";
|
|
400
|
+
readonly capability: "artifact.create";
|
|
401
|
+
readonly defaultScope: "workspace";
|
|
402
|
+
readonly phase: "paid-alpha";
|
|
403
|
+
readonly allowedPlans: readonly ["Creator", "Pro"];
|
|
404
|
+
}, {
|
|
405
|
+
readonly grant: "artifact.read";
|
|
406
|
+
readonly capability: "artifact.get";
|
|
407
|
+
readonly defaultScope: "workspace";
|
|
408
|
+
readonly phase: "included";
|
|
409
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
410
|
+
}, {
|
|
411
|
+
readonly grant: "usage.read";
|
|
412
|
+
readonly capability: "usage.read";
|
|
413
|
+
readonly defaultScope: "workspace";
|
|
414
|
+
readonly phase: "included";
|
|
415
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
416
|
+
}, {
|
|
417
|
+
readonly grant: "job.long_running";
|
|
418
|
+
readonly capability: "job.status";
|
|
419
|
+
readonly defaultScope: "project";
|
|
420
|
+
readonly phase: "included";
|
|
421
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
422
|
+
}, {
|
|
423
|
+
readonly grant: "job.cancel";
|
|
424
|
+
readonly capability: "job.cancel";
|
|
425
|
+
readonly defaultScope: "project";
|
|
426
|
+
readonly phase: "included";
|
|
427
|
+
readonly allowedPlans: readonly ["Free", "Creator", "Pro"];
|
|
428
|
+
}, {
|
|
429
|
+
readonly grant: "crawl.public";
|
|
430
|
+
readonly capability: "browser.crawl_site";
|
|
431
|
+
readonly defaultScope: "project";
|
|
432
|
+
readonly phase: "included-limited";
|
|
433
|
+
readonly allowedPlans: readonly ["Creator", "Pro"];
|
|
434
|
+
}, {
|
|
435
|
+
readonly grant: "crawl.authenticated";
|
|
436
|
+
readonly capability: "browser.crawl_site";
|
|
437
|
+
readonly defaultScope: "user";
|
|
438
|
+
readonly phase: "pro-allowlisted";
|
|
439
|
+
readonly allowedPlans: readonly ["Pro"];
|
|
440
|
+
}];
|
|
441
|
+
export declare const LAUNCH_POLICIES: readonly [{
|
|
442
|
+
readonly id: "vibecodr-subscription-ssot";
|
|
443
|
+
readonly rule: "Paid vc-tools access follows existing Vibecodr Creator and Pro subscriptions; vc-tools does not own a standalone Stripe catalog.";
|
|
444
|
+
}, {
|
|
445
|
+
readonly id: "no-raw-cloudflare-credentials";
|
|
446
|
+
readonly rule: "Users authenticate to Vibecodr Tools; Cloudflare credentials stay behind the hosted service boundary.";
|
|
447
|
+
}, {
|
|
448
|
+
readonly id: "quota-before-cost";
|
|
449
|
+
readonly rule: "Every tool call is checked against plan, quota, grants, and risk policy before Browser Run or Sandbox spend.";
|
|
450
|
+
}, {
|
|
451
|
+
readonly id: "audit-before-cost";
|
|
452
|
+
readonly rule: "Every cost-bearing tool call emits a secret-redacted audit event before execution.";
|
|
453
|
+
}, {
|
|
454
|
+
readonly id: "no-authenticated-browsing-by-default";
|
|
455
|
+
readonly rule: "Authenticated third-party browsing is disabled by default and reserved for allowlisted Pro workflows.";
|
|
456
|
+
}, {
|
|
457
|
+
readonly id: "sandbox-public-egress-private-deny";
|
|
458
|
+
readonly rule: "Paid Agent Computers can use public HTTP(S) egress for package and docs work; private, local, link-local, metadata, and internal destinations stay blocked by hosted policy.";
|
|
459
|
+
}, {
|
|
460
|
+
readonly id: "no-browser-recording-by-default";
|
|
461
|
+
readonly rule: "Browser recording is off by default and must be explicitly enabled by policy.";
|
|
462
|
+
}, {
|
|
463
|
+
readonly id: "no-unlimited-crawl";
|
|
464
|
+
readonly rule: "Crawl is disabled or tightly limited unless a paid crawl grant is present.";
|
|
465
|
+
}, {
|
|
466
|
+
readonly id: "artifact-retention-bounded";
|
|
467
|
+
readonly rule: "Screenshots, PDFs, logs, recordings, and sandbox files obey the workspace retention policy.";
|
|
468
|
+
}];
|
|
469
|
+
export declare const LAUNCH_WORKFLOWS: readonly ["Rendered website inspection", "Bug reproduction", "Code execution and test run", "Research artifact generation", "Preview and verify"];
|
|
470
|
+
export interface ApiHealth {
|
|
471
|
+
ok: boolean;
|
|
472
|
+
service?: string;
|
|
473
|
+
version?: string;
|
|
474
|
+
}
|
|
475
|
+
export interface MeResponse {
|
|
476
|
+
user: {
|
|
477
|
+
id: string;
|
|
478
|
+
email?: string;
|
|
479
|
+
};
|
|
480
|
+
workspace?: {
|
|
481
|
+
id: string;
|
|
482
|
+
name?: string;
|
|
483
|
+
};
|
|
484
|
+
plan?: {
|
|
485
|
+
name: string;
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/legacy/core/contracts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,kRAcf,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAoC7D,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASrB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;EAE9B,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC1B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GACzC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAEvD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+IhB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,YAAY,GAAG,eAAe,GAAG,QAAQ,CAAC;AAEzF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoI1C,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBrB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUlB,CAAC;AAEX,eAAO,MAAM,gBAAgB,mJAMnB,CAAC;AAEX,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,OAAO,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACrC,SAAS,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,IAAI,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CACzB"}
|