@somewhere-cloud/cli 0.38.48 → 0.38.51
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/dist/commands/advisor.d.ts +9 -0
- package/dist/commands/ai.d.ts +2 -0
- package/dist/commands/api.d.ts +14 -0
- package/dist/commands/auth.d.ts +30 -0
- package/dist/commands/browser.d.ts +247 -0
- package/dist/commands/call.d.ts +22 -0
- package/dist/commands/catalog.d.ts +16 -0
- package/dist/commands/check.d.ts +114 -0
- package/dist/commands/claim.d.ts +5 -0
- package/dist/commands/cron.d.ts +14 -0
- package/dist/commands/db-rows.d.ts +2 -0
- package/dist/commands/db.d.ts +2 -0
- package/dist/commands/deploy.d.ts +235 -0
- package/dist/commands/dev.d.ts +171 -0
- package/dist/commands/docs.d.ts +85 -0
- package/dist/commands/email.d.ts +8 -0
- package/dist/commands/env.d.ts +2 -0
- package/dist/commands/errors.d.ts +2 -0
- package/dist/commands/feedback.d.ts +2 -0
- package/dist/commands/fs.d.ts +2 -0
- package/dist/commands/git.d.ts +2 -0
- package/dist/commands/grep.d.ts +2 -0
- package/dist/commands/hooks.d.ts +2 -0
- package/dist/commands/init.d.ts +17 -0
- package/dist/commands/link.d.ts +8 -0
- package/dist/commands/lint.d.ts +2 -0
- package/dist/commands/logs.d.ts +2 -0
- package/dist/commands/mcp.d.ts +4 -0
- package/dist/commands/open.d.ts +2 -0
- package/dist/commands/postgres.d.ts +2 -0
- package/dist/commands/project.d.ts +8 -0
- package/dist/commands/promote.d.ts +28 -0
- package/dist/commands/pull.d.ts +2 -0
- package/dist/commands/restore.d.ts +5 -0
- package/dist/commands/rollback.d.ts +21 -0
- package/dist/commands/run.d.ts +2 -0
- package/dist/commands/skills.d.ts +2 -0
- package/dist/commands/status.d.ts +27 -0
- package/dist/commands/support.d.ts +2 -0
- package/dist/commands/tasks.d.ts +2 -0
- package/dist/commands/test-users.d.ts +4 -0
- package/dist/commands/test.d.ts +2 -0
- package/dist/commands/test.js +74 -0
- package/dist/commands/test.js.map +1 -0
- package/dist/commands/typecheck.d.ts +9 -0
- package/dist/commands/update.d.ts +25 -0
- package/dist/commands/upgrade.d.ts +12 -0
- package/dist/commands/usage.d.ts +2 -0
- package/dist/commands/verify.d.ts +419 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/advisor-context.d.ts +20 -0
- package/dist/lib/advisor-runs.d.ts +26 -0
- package/dist/lib/agent-hooks.d.ts +74 -0
- package/dist/lib/allowed-origins.d.ts +11 -0
- package/dist/lib/auth.d.ts +12 -0
- package/dist/lib/base-files.d.ts +31 -0
- package/dist/lib/browser-actions.d.ts +106 -0
- package/dist/lib/browser-flow-preflight.d.ts +6 -0
- package/dist/lib/browser-refusal.d.ts +17 -0
- package/dist/lib/browser-run.d.ts +102 -0
- package/dist/lib/build-errors.d.ts +24 -0
- package/dist/lib/chrome.d.ts +66 -0
- package/dist/lib/claim-handoff.d.ts +11 -0
- package/dist/lib/client.d.ts +150 -0
- package/dist/lib/config.d.ts +125 -0
- package/dist/lib/declared-data.d.ts +50 -0
- package/dist/lib/deploy-check.d.ts +56 -0
- package/dist/lib/device-login.d.ts +41 -0
- package/dist/lib/device.d.ts +2 -0
- package/dist/lib/envfile-write.d.ts +17 -0
- package/dist/lib/files.d.ts +111 -0
- package/dist/lib/frontend-dev.d.ts +28 -0
- package/dist/lib/generic-lint.d.ts +9 -0
- package/dist/lib/help-summary.d.ts +2 -0
- package/dist/lib/http.d.ts +9 -0
- package/dist/lib/init-agent-guide.d.ts +13 -0
- package/dist/lib/init-feature-template.d.ts +8 -0
- package/dist/lib/init-features.d.ts +50 -0
- package/dist/lib/init-green-template.d.ts +2 -0
- package/dist/lib/init-install.d.ts +14 -0
- package/dist/lib/init-scaffold.d.ts +44 -0
- package/dist/lib/init-template.d.ts +2 -0
- package/dist/lib/init-test-template.d.ts +2 -0
- package/dist/lib/init-ui-kit.d.ts +8 -0
- package/dist/lib/last-run.d.ts +38 -0
- package/dist/lib/link-hint.d.ts +5 -0
- package/dist/lib/next-actions.d.ts +48 -0
- package/dist/lib/notify/index.d.ts +18 -0
- package/dist/lib/notify/providers/update.d.ts +45 -0
- package/dist/lib/notify/types.d.ts +25 -0
- package/dist/lib/open.d.ts +1 -0
- package/dist/lib/output.d.ts +61 -0
- package/dist/lib/platform-command.d.ts +6 -0
- package/dist/lib/platform-contract.d.ts +26 -0
- package/dist/lib/platform-tools.d.ts +77 -0
- package/dist/lib/playwright-fixtures.d.ts +19 -0
- package/dist/lib/playwright-fixtures.js +140 -0
- package/dist/lib/playwright-fixtures.js.map +1 -0
- package/dist/lib/post-live-render.d.ts +48 -0
- package/dist/lib/project-notices.d.ts +18 -0
- package/dist/lib/project-pin.d.ts +57 -0
- package/dist/lib/project-ref.d.ts +32 -0
- package/dist/lib/project-urls.d.ts +18 -0
- package/dist/lib/promote-handoff.d.ts +65 -0
- package/dist/lib/promote-outcome.d.ts +98 -0
- package/dist/lib/publish-surface.d.ts +8 -0
- package/dist/lib/repro-packet.d.ts +35 -0
- package/dist/lib/scaffold.d.ts +46 -0
- package/dist/lib/skills-pack.d.ts +81 -0
- package/dist/lib/skills-pack.generated.d.ts +2 -0
- package/dist/lib/source-lint.d.ts +42 -0
- package/dist/lib/spinner.d.ts +14 -0
- package/dist/lib/startup-notice.d.ts +23 -0
- package/dist/lib/surface-counts.d.ts +88 -0
- package/dist/lib/temp-auth.d.ts +53 -0
- package/dist/lib/terminal-text.d.ts +10 -0
- package/dist/lib/test-identities.d.ts +122 -0
- package/dist/lib/test-identities.js +1 -1
- package/dist/lib/test-identities.js.map +1 -1
- package/dist/lib/test-reporter.d.ts +13 -0
- package/dist/lib/test-reporter.js +28 -0
- package/dist/lib/test-reporter.js.map +1 -0
- package/dist/lib/typecheck-version.d.ts +1 -0
- package/dist/lib/typecheck.d.ts +136 -0
- package/dist/lib/update-security.d.ts +25 -0
- package/dist/lib/vendor/deploy-paths.d.ts +21 -0
- package/dist/lib/vendor/repro-guidance.d.ts +111 -0
- package/dist/lib/verify-keep.d.ts +92 -0
- package/dist/lib/verify-progress.d.ts +2 -0
- package/dist/lib/verify-report.d.ts +4 -0
- package/dist/lib/version.d.ts +1 -0
- package/dist/testing.d.ts +37 -0
- package/dist/testing.js +2 -0
- package/dist/testing.js.map +1 -1
- package/dist/types.d.ts +104 -0
- package/npm-shrinkwrap.json +48 -2
- package/package.json +14 -3
- package/runtime/PLATFORM-SOURCE.json +1 -1
- package/runtime/SOURCE-LINT-VENDOR.json +1 -1
- package/src/testing.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@somewhere-cloud/cli",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.51",
|
|
4
4
|
"description": "CLI for somewhere.cloud — auth, projects, deploy, pull, promote, db, logs, env, MCP bridge.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"somewhere",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"undici"
|
|
68
68
|
],
|
|
69
69
|
"devDependencies": {
|
|
70
|
+
"@playwright/test": "^1.65.0",
|
|
70
71
|
"@types/node": "^22.19.21",
|
|
71
72
|
"@types/prompts": "^2.4.0",
|
|
72
73
|
"@types/semver": "^7.5.8",
|
|
@@ -74,9 +75,19 @@
|
|
|
74
75
|
},
|
|
75
76
|
"exports": {
|
|
76
77
|
"./testing": {
|
|
77
|
-
"types": "./
|
|
78
|
+
"types": "./dist/testing.d.ts",
|
|
78
79
|
"import": "./dist/testing.js"
|
|
79
80
|
},
|
|
80
81
|
"./package.json": "./package.json"
|
|
81
|
-
}
|
|
82
|
+
},
|
|
83
|
+
"bundleDependencies": [
|
|
84
|
+
"@modelcontextprotocol/sdk",
|
|
85
|
+
"chokidar",
|
|
86
|
+
"commander",
|
|
87
|
+
"prompts",
|
|
88
|
+
"semver",
|
|
89
|
+
"sigstore",
|
|
90
|
+
"tar",
|
|
91
|
+
"undici"
|
|
92
|
+
]
|
|
82
93
|
}
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"worker/src/utils/managed-groups/policy.ts": "2c5b48479a2925bea9a820022c63ca5fa827e2ff5531fe1ab6c0b058b7212b39",
|
|
150
150
|
"worker/src/utils/platform-compile-failure.ts": "c850af378f59b4cfc81f1df5c1eaa6db2e0fef145870e01d631b54b766cadbc2",
|
|
151
151
|
"worker/src/utils/platform-data/bounded-reply.ts": "e115fa1031afc8cbe2e22c3d6a53828555581192e57130105afe3b652bf19bb9",
|
|
152
|
-
"worker/src/utils/platform-data/door.ts": "
|
|
152
|
+
"worker/src/utils/platform-data/door.ts": "02d876c0ac37a1c258766aa07c5837389cc397c4acb445ffd0d9f3af57a56ce3",
|
|
153
153
|
"worker/src/utils/platform-data/read-only.ts": "8625ff7a41c74ef18fb4656da1de2359267b2ab286812a01703ae0aec528efbf",
|
|
154
154
|
"worker/src/utils/platform-data/targets.ts": "cbd3f00d1ecdda0aa7fc3f5a822a43ca2d12b9558e0b4ef9c6e4156516512875",
|
|
155
155
|
"worker/src/utils/project-custom-hosts.ts": "ef693b4ea70f93fd66f3b3cda88ce68664540366caa33fa0169bf7bcfce80b2a",
|
package/src/testing.ts
CHANGED
|
@@ -26,7 +26,7 @@ export class UserSession {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
export type DataRequest =
|
|
29
|
-
| { operation: 'list'; limit?: number; after?: string; where?: Record<string, unknown> }
|
|
29
|
+
| { operation: 'list'; limit?: number; after?: string | number; where?: Record<string, unknown> }
|
|
30
30
|
| { operation: 'get' | 'delete'; id: string | number }
|
|
31
31
|
| { operation: 'create'; values: Record<string, unknown> }
|
|
32
32
|
| { operation: 'update'; id: string | number; values: Record<string, unknown> };
|
|
@@ -66,3 +66,6 @@ export function waitForApp(page: BrowserPage, state: 'ready' | 'signed-in' | 'si
|
|
|
66
66
|
const selector = state === 'ready' ? '[data-app-state="signed-in"], [data-app-state="signed-out"]' : '[data-app-state="' + state + '"]';
|
|
67
67
|
return page.locator(selector).waitFor({ state: 'visible' });
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
// Lazy project-local Playwright resolution keeps UserSession dependency-free.
|
|
71
|
+
export { test, expect, expectRefused, data, ready, type TestUser } from './lib/playwright-fixtures.js';
|