@noodleseed/one 0.125.0 → 0.126.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/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/catalog-data-account.d.ts +2 -3
- package/dist/commands/catalog-data-account.d.ts.map +1 -1
- package/dist/commands/catalog-data-account.js +2 -310
- package/dist/commands/catalog-data-account.js.map +1 -1
- package/dist/commands/catalog-data-assistant.d.ts +2 -3
- package/dist/commands/catalog-data-assistant.d.ts.map +1 -1
- package/dist/commands/catalog-data-assistant.js +2 -259
- package/dist/commands/catalog-data-assistant.js.map +1 -1
- package/dist/commands/catalog-data-auth-discovery.d.ts +2 -3
- package/dist/commands/catalog-data-auth-discovery.d.ts.map +1 -1
- package/dist/commands/catalog-data-auth-discovery.js +2 -357
- package/dist/commands/catalog-data-auth-discovery.js.map +1 -1
- package/dist/commands/catalog-data-billing.d.ts +2 -3
- package/dist/commands/catalog-data-billing.d.ts.map +1 -1
- package/dist/commands/catalog-data-billing.js +2 -311
- package/dist/commands/catalog-data-billing.js.map +1 -1
- package/dist/commands/catalog-data-bootstrap-authoring.d.ts +2 -3
- package/dist/commands/catalog-data-bootstrap-authoring.d.ts.map +1 -1
- package/dist/commands/catalog-data-bootstrap-authoring.js +2 -381
- package/dist/commands/catalog-data-bootstrap-authoring.js.map +1 -1
- package/dist/commands/catalog-data-bootstrap-pre-auth.d.ts +2 -3
- package/dist/commands/catalog-data-bootstrap-pre-auth.d.ts.map +1 -1
- package/dist/commands/catalog-data-bootstrap-pre-auth.js +2 -388
- package/dist/commands/catalog-data-bootstrap-pre-auth.js.map +1 -1
- package/dist/commands/catalog-data-config.d.ts +2 -6
- package/dist/commands/catalog-data-config.d.ts.map +1 -1
- package/dist/commands/catalog-data-config.js +2 -266
- package/dist/commands/catalog-data-config.js.map +1 -1
- package/dist/commands/catalog-data-core.d.ts +2 -5
- package/dist/commands/catalog-data-core.d.ts.map +1 -1
- package/dist/commands/catalog-data-core.js +2 -86
- package/dist/commands/catalog-data-core.js.map +1 -1
- package/dist/commands/catalog-data-distributions.d.ts +3 -0
- package/dist/commands/catalog-data-distributions.d.ts.map +1 -0
- package/dist/commands/catalog-data-distributions.js +3 -0
- package/dist/commands/catalog-data-distributions.js.map +1 -0
- package/dist/commands/catalog-data-hosted-deployment.d.ts +2 -3
- package/dist/commands/catalog-data-hosted-deployment.d.ts.map +1 -1
- package/dist/commands/catalog-data-hosted-deployment.js +2 -329
- package/dist/commands/catalog-data-hosted-deployment.js.map +1 -1
- package/dist/commands/catalog-data-hosted-governance.d.ts +2 -3
- package/dist/commands/catalog-data-hosted-governance.d.ts.map +1 -1
- package/dist/commands/catalog-data-hosted-governance.js +2 -3
- package/dist/commands/catalog-data-hosted-governance.js.map +1 -1
- package/dist/commands/catalog-data-hosted-observability.d.ts +2 -3
- package/dist/commands/catalog-data-hosted-observability.d.ts.map +1 -1
- package/dist/commands/catalog-data-hosted-observability.js +2 -453
- package/dist/commands/catalog-data-hosted-observability.js.map +1 -1
- package/dist/commands/catalog-data-local-authoring.d.ts +2 -3
- package/dist/commands/catalog-data-local-authoring.d.ts.map +1 -1
- package/dist/commands/catalog-data-local-authoring.js +2 -293
- package/dist/commands/catalog-data-local-authoring.js.map +1 -1
- package/dist/commands/catalog-data-platform-auth.d.ts +2 -6
- package/dist/commands/catalog-data-platform-auth.d.ts.map +1 -1
- package/dist/commands/catalog-data-platform-auth.js +2 -332
- package/dist/commands/catalog-data-platform-auth.js.map +1 -1
- package/dist/commands/catalog-data-policy.d.ts +2 -3
- package/dist/commands/catalog-data-policy.d.ts.map +1 -1
- package/dist/commands/catalog-data-policy.js +2 -327
- package/dist/commands/catalog-data-policy.js.map +1 -1
- package/dist/commands/catalog-data-tenant-admin.d.ts +2 -3
- package/dist/commands/catalog-data-tenant-admin.d.ts.map +1 -1
- package/dist/commands/catalog-data-tenant-admin.js +2 -478
- package/dist/commands/catalog-data-tenant-admin.js.map +1 -1
- package/dist/commands/catalog-data-tenant-resources.d.ts +2 -3
- package/dist/commands/catalog-data-tenant-resources.d.ts.map +1 -1
- package/dist/commands/catalog-data-tenant-resources.js +2 -222
- package/dist/commands/catalog-data-tenant-resources.js.map +1 -1
- package/dist/commands/catalog-types.d.ts +2 -103
- package/dist/commands/catalog-types.d.ts.map +1 -1
- package/dist/commands/catalog-types.js +0 -5
- package/dist/commands/catalog-types.js.map +1 -1
- package/dist/commands/catalog.d.ts.map +1 -1
- package/dist/commands/catalog.js +3 -0
- package/dist/commands/catalog.js.map +1 -1
- package/dist/commands/distribution-lifecycle-ops.d.ts +3 -0
- package/dist/commands/distribution-lifecycle-ops.d.ts.map +1 -0
- package/dist/commands/distribution-lifecycle-ops.js +200 -0
- package/dist/commands/distribution-lifecycle-ops.js.map +1 -0
- package/dist/commands/distribution-ops-support.d.ts +36 -0
- package/dist/commands/distribution-ops-support.d.ts.map +1 -0
- package/dist/commands/distribution-ops-support.js +109 -0
- package/dist/commands/distribution-ops-support.js.map +1 -0
- package/dist/commands/distributions-ops.d.ts +3 -0
- package/dist/commands/distributions-ops.d.ts.map +1 -0
- package/dist/commands/distributions-ops.js +272 -0
- package/dist/commands/distributions-ops.js.map +1 -0
- package/dist/control-plane-request.d.ts +24 -0
- package/dist/control-plane-request.d.ts.map +1 -0
- package/dist/control-plane-request.js +124 -0
- package/dist/control-plane-request.js.map +1 -0
- package/dist/control-plane.d.ts +1 -17
- package/dist/control-plane.d.ts.map +1 -1
- package/dist/control-plane.js +1 -112
- package/dist/control-plane.js.map +1 -1
- package/dist/plugin-mode/plugin-operation-contract.d.ts +9 -9
- package/node_modules/@noodle-borg/agent-kit/dist/curated/command-groups.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/curated/command-groups.js +4 -0
- package/node_modules/@noodle-borg/agent-kit/dist/curated/command-groups.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/surface.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/surface.js +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/generated/surface.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.d.ts.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.js +17 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-operations-refs.js.map +1 -1
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-account.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-account.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-account.js +311 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-account.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-assistant.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-assistant.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-assistant.js +260 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-assistant.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-auth-discovery.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-auth-discovery.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-auth-discovery.js +358 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-auth-discovery.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-billing.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-billing.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-billing.js +312 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-billing.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-authoring.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-authoring.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-authoring.js +382 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-authoring.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-pre-auth.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-pre-auth.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-pre-auth.js +389 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-bootstrap-pre-auth.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-config.d.ts +7 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-config.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-config.js +267 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-config.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-core.d.ts +6 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-core.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-core.js +87 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-core.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-distributions.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-distributions.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-distributions.js +260 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-distributions.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-deployment.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-deployment.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-deployment.js +330 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-deployment.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-governance.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-governance.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-governance.js +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-governance.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-observability.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-observability.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-observability.js +454 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-hosted-observability.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-local-authoring.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-local-authoring.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-local-authoring.js +294 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-local-authoring.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-platform-auth.d.ts +7 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-platform-auth.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-platform-auth.js +333 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-platform-auth.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-policy.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-policy.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-policy.js +328 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-policy.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-admin.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-admin.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-admin.js +479 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-admin.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-resources.d.ts +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-resources.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-resources.js +223 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-resources.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-types.d.ts +104 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-types.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-types.js +7 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-types.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/index.d.ts +19 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/index.d.ts.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/index.js +19 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/index.js.map +1 -0
- package/node_modules/@noodle-borg/cli-catalog/package.json +97 -0
- package/node_modules/@noodle-borg/knowledge/dist/google-agent-search.d.ts +7 -0
- package/node_modules/@noodle-borg/knowledge/dist/google-agent-search.d.ts.map +1 -1
- package/node_modules/@noodle-borg/knowledge/dist/google-agent-search.js +13 -2
- package/node_modules/@noodle-borg/knowledge/dist/google-agent-search.js.map +1 -1
- package/node_modules/@noodle-borg/knowledge-operations/dist/managed-google.d.ts.map +1 -1
- package/node_modules/@noodle-borg/knowledge-operations/dist/managed-google.js +13 -2
- package/node_modules/@noodle-borg/knowledge-operations/dist/managed-google.js.map +1 -1
- package/node_modules/@noodle-borg/module/dist/contract.d.ts +67 -0
- package/node_modules/@noodle-borg/module/dist/contract.d.ts.map +1 -1
- package/node_modules/@noodle-borg/module/dist/contract.js.map +1 -1
- package/node_modules/@noodle-borg/plugin-distribution/dist/command.d.ts +1 -0
- package/node_modules/@noodle-borg/plugin-distribution/dist/command.d.ts.map +1 -1
- package/node_modules/@noodle-borg/plugin-distribution/dist/command.js +1 -0
- package/node_modules/@noodle-borg/plugin-distribution/dist/command.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/modules/commercial-modules.d.ts +8 -0
- package/node_modules/@noodle-borg/service/dist/modules/commercial-modules.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/modules/commercial-modules.js +21 -0
- package/node_modules/@noodle-borg/service/dist/modules/commercial-modules.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/modules/route-dispatch.d.ts +30 -0
- package/node_modules/@noodle-borg/service/dist/modules/route-dispatch.d.ts.map +1 -0
- package/node_modules/@noodle-borg/service/dist/modules/route-dispatch.js +155 -0
- package/node_modules/@noodle-borg/service/dist/modules/route-dispatch.js.map +1 -0
- package/node_modules/@noodle-borg/service/dist/serve.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/serve.js +4 -20
- package/node_modules/@noodle-borg/service/dist/serve.js.map +1 -1
- package/node_modules/@noodle-borg/service/dist/service.d.ts.map +1 -1
- package/node_modules/@noodle-borg/service/dist/service.js +15 -15
- package/node_modules/@noodle-borg/service/dist/service.js.map +1 -1
- package/node_modules/@noodle-borg/wire-contracts/dist/distribution.d.ts +561 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/distribution.d.ts.map +1 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/distribution.js +223 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/distribution.js.map +1 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/index.d.ts +1 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@noodle-borg/wire-contracts/dist/index.js +1 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/wire-contracts/dist/knowledge.d.ts +1 -1
- package/package.json +4 -1
package/dist/control-plane.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { type UrlOpener } from './browser.js';
|
|
2
2
|
import type { ConfigLocation, NoodleConfig } from './config.js';
|
|
3
|
+
export { type ServiceBinaryResponse, type ServiceJsonOptions, ServiceRequestError, serviceBinary, serviceJson, } from './control-plane-request.js';
|
|
3
4
|
export interface LoginResult {
|
|
4
5
|
readonly serviceUrl: string;
|
|
5
6
|
readonly email?: string;
|
|
6
7
|
readonly subject?: string;
|
|
7
8
|
}
|
|
8
|
-
export interface ServiceJsonOptions {
|
|
9
|
-
readonly timeoutMs?: number;
|
|
10
|
-
}
|
|
11
9
|
export declare function browserLogin(input: {
|
|
12
10
|
readonly serviceUrl: string;
|
|
13
11
|
readonly home: ConfigLocation;
|
|
@@ -32,18 +30,4 @@ export declare function revokeNoodleToken(input: {
|
|
|
32
30
|
readonly token: string;
|
|
33
31
|
readonly fetchImpl?: typeof fetch;
|
|
34
32
|
}): Promise<void>;
|
|
35
|
-
export declare function serviceJson<T>(url: string, token: string | undefined, init?: RequestInit, fetchImpl?: typeof fetch, options?: ServiceJsonOptions): Promise<T>;
|
|
36
|
-
export declare class ServiceRequestError extends Error {
|
|
37
|
-
readonly status: number;
|
|
38
|
-
readonly code?: string;
|
|
39
|
-
readonly requestId?: string;
|
|
40
|
-
readonly retryAfterSeconds?: number;
|
|
41
|
-
constructor(input: {
|
|
42
|
-
readonly status: number;
|
|
43
|
-
readonly message: string;
|
|
44
|
-
readonly code?: string;
|
|
45
|
-
readonly requestId?: string;
|
|
46
|
-
readonly retryAfterSeconds?: number;
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
33
|
//# sourceMappingURL=control-plane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-plane.d.ts","sourceRoot":"","sources":["../src/control-plane.ts"],"names":[],"mappings":"AAIA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"control-plane.d.ts","sourceRoot":"","sources":["../src/control-plane.ts"],"names":[],"mappings":"AAIA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMhE,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,mBAAmB,EACnB,aAAa,EACb,WAAW,GACZ,MAAM,4BAA4B,CAAC;AAKpC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAsB,YAAY,CAAC,KAAK,EAAE;IACxC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC;IACjC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CACnC,GAAG,OAAO,CAAC,WAAW,CAAC,CAwDvB;AAED,wBAAsB,wBAAwB,CAAC,KAAK,EAAE;IACpD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,GAAG,SAAS,CAAC;CAC/C,GAAG,OAAO,CAAC;IACV,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;CAC/B,CAAC,CA+DD;AAED,wBAAsB,iBAAiB,CAAC,KAAK,EAAE;IAC7C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CACnC,GAAG,OAAO,CAAC,IAAI,CAAC,CAWhB"}
|
package/dist/control-plane.js
CHANGED
|
@@ -6,10 +6,9 @@ import { readConfig, resolveServiceUrl, writeConfig } from './config.js';
|
|
|
6
6
|
import { DEFAULT_SERVICE_URL } from './deploy.js';
|
|
7
7
|
import { deviceOAuthLogin, discoverDeviceAuthorization } from './device-login.js';
|
|
8
8
|
import { assertPluginServiceOrigin, readPluginCompatibility } from './plugin-mode/compatibility.js';
|
|
9
|
-
|
|
9
|
+
export { ServiceRequestError, serviceBinary, serviceJson, } from './control-plane-request.js';
|
|
10
10
|
const GOOGLE_AUTH_URL = 'https://accounts.google.com/o/oauth2/v2/auth';
|
|
11
11
|
const GOOGLE_TOKEN_URL = 'https://oauth2.googleapis.com/token';
|
|
12
|
-
const DEFAULT_SERVICE_TIMEOUT_MS = 15_000;
|
|
13
12
|
export async function browserLogin(input) {
|
|
14
13
|
const fetchImpl = input.fetchImpl ?? fetch;
|
|
15
14
|
const serviceUrl = normalizeServiceUrl(input.serviceUrl);
|
|
@@ -139,116 +138,6 @@ export async function revokeNoodleToken(input) {
|
|
|
139
138
|
if (!response.ok)
|
|
140
139
|
throw new Error(`OAuth token revocation failed (${response.status})`);
|
|
141
140
|
}
|
|
142
|
-
export async function serviceJson(url, token, init = {}, fetchImpl = fetch, options = {}) {
|
|
143
|
-
const timeoutMs = options.timeoutMs ?? DEFAULT_SERVICE_TIMEOUT_MS;
|
|
144
|
-
const method = (init.method ?? 'GET').toUpperCase();
|
|
145
|
-
const maxAttempts = method === 'GET' ? 2 : 1;
|
|
146
|
-
let lastError;
|
|
147
|
-
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
|
|
148
|
-
try {
|
|
149
|
-
const res = await fetchService(url, token, init, fetchImpl, timeoutMs);
|
|
150
|
-
if (res.ok) {
|
|
151
|
-
if (res.status === 204)
|
|
152
|
-
return undefined;
|
|
153
|
-
return (await res.json());
|
|
154
|
-
}
|
|
155
|
-
const error = await serviceErrorFromResponse(res, token);
|
|
156
|
-
if (attempt < maxAttempts && isTransientStatus(error.status)) {
|
|
157
|
-
lastError = error;
|
|
158
|
-
continue;
|
|
159
|
-
}
|
|
160
|
-
throw error;
|
|
161
|
-
}
|
|
162
|
-
catch (error) {
|
|
163
|
-
const normalized = error instanceof ServiceRequestError
|
|
164
|
-
? error
|
|
165
|
-
: new ServiceRequestError({
|
|
166
|
-
status: 0,
|
|
167
|
-
message: error instanceof Error && error.name === 'AbortError'
|
|
168
|
-
? `request timed out after ${timeoutMs}ms`
|
|
169
|
-
: redactKnown(error instanceof Error ? error.message : String(error), token),
|
|
170
|
-
});
|
|
171
|
-
if (attempt < maxAttempts && isTransientStatus(normalized.status)) {
|
|
172
|
-
lastError = normalized;
|
|
173
|
-
continue;
|
|
174
|
-
}
|
|
175
|
-
throw normalized;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
throw lastError ?? new ServiceRequestError({ status: 0, message: 'request failed' });
|
|
179
|
-
}
|
|
180
|
-
async function fetchService(url, token, init, fetchImpl, timeoutMs) {
|
|
181
|
-
const headers = new Headers(init.headers);
|
|
182
|
-
headers.set('accept', 'application/json');
|
|
183
|
-
headers.set('x-noodle-cli-version', currentCliVersion());
|
|
184
|
-
if (token !== undefined)
|
|
185
|
-
headers.set('authorization', `Bearer ${token}`);
|
|
186
|
-
const controller = new AbortController();
|
|
187
|
-
const timer = setTimeout(() => controller.abort(), timeoutMs);
|
|
188
|
-
try {
|
|
189
|
-
return await fetchImpl(url, { ...init, headers, signal: controller.signal });
|
|
190
|
-
}
|
|
191
|
-
finally {
|
|
192
|
-
clearTimeout(timer);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
async function serviceErrorFromResponse(res, token) {
|
|
196
|
-
let message = `request failed (${res.status})`;
|
|
197
|
-
let code;
|
|
198
|
-
try {
|
|
199
|
-
const body = (await res.json());
|
|
200
|
-
if (typeof body.error === 'string')
|
|
201
|
-
message = body.error;
|
|
202
|
-
if (typeof body.code === 'string')
|
|
203
|
-
code = body.code;
|
|
204
|
-
}
|
|
205
|
-
catch { }
|
|
206
|
-
const requestId = res.headers.get('x-request-id') ?? res.headers.get('x-correlation-id') ?? undefined;
|
|
207
|
-
const retryAfterSeconds = parseRetryAfterSeconds(res.headers.get('retry-after'));
|
|
208
|
-
return new ServiceRequestError({
|
|
209
|
-
status: res.status,
|
|
210
|
-
message: redactKnown(message, token),
|
|
211
|
-
...(code !== undefined ? { code } : {}),
|
|
212
|
-
...(requestId !== undefined ? { requestId } : {}),
|
|
213
|
-
...(retryAfterSeconds !== undefined ? { retryAfterSeconds } : {}),
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
function parseRetryAfterSeconds(value) {
|
|
217
|
-
if (value === null)
|
|
218
|
-
return undefined;
|
|
219
|
-
const seconds = Number(value);
|
|
220
|
-
if (Number.isFinite(seconds) && seconds >= 0)
|
|
221
|
-
return Math.ceil(seconds);
|
|
222
|
-
const at = Date.parse(value);
|
|
223
|
-
if (!Number.isFinite(at))
|
|
224
|
-
return undefined;
|
|
225
|
-
return Math.max(0, Math.ceil((at - Date.now()) / 1000));
|
|
226
|
-
}
|
|
227
|
-
function isTransientStatus(status) {
|
|
228
|
-
return status === 0 || status === 408 || status === 429 || status >= 500;
|
|
229
|
-
}
|
|
230
|
-
function redactKnown(message, token) {
|
|
231
|
-
if (!token)
|
|
232
|
-
return message;
|
|
233
|
-
return message.split(token).join('[redacted]');
|
|
234
|
-
}
|
|
235
|
-
export class ServiceRequestError extends Error {
|
|
236
|
-
status;
|
|
237
|
-
code;
|
|
238
|
-
requestId;
|
|
239
|
-
retryAfterSeconds;
|
|
240
|
-
constructor(input) {
|
|
241
|
-
super(input.message);
|
|
242
|
-
this.name = 'ServiceRequestError';
|
|
243
|
-
this.status = input.status;
|
|
244
|
-
if (input.code !== undefined)
|
|
245
|
-
this.code = input.code;
|
|
246
|
-
if (input.requestId !== undefined)
|
|
247
|
-
this.requestId = input.requestId;
|
|
248
|
-
if (input.retryAfterSeconds !== undefined)
|
|
249
|
-
this.retryAfterSeconds = input.retryAfterSeconds;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
141
|
function normalizeServiceUrl(value) {
|
|
253
142
|
return value.replace(/\/+$/, '');
|
|
254
143
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-plane.js","sourceRoot":"","sources":["../src/control-plane.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,YAAY,EAA6C,MAAM,WAAW,CAAC;AAEpF,OAAO,EAAE,eAAe,EAA4B,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAkB,MAAM,cAAc,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAA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Schema>;
|
|
|
10
10
|
export declare const setupInputSchema: z.ZodObject<{
|
|
11
11
|
workspaceHandle: z.ZodString;
|
|
12
12
|
mode: z.ZodEnum<{
|
|
13
|
-
reconcile: "reconcile";
|
|
14
13
|
initialize: "initialize";
|
|
14
|
+
reconcile: "reconcile";
|
|
15
15
|
}>;
|
|
16
16
|
template: z.ZodOptional<z.ZodEnum<{
|
|
17
17
|
saas: "saas";
|
|
@@ -56,8 +56,8 @@ export declare const feedbackFields: {
|
|
|
56
56
|
readonly title: z.ZodOptional<z.ZodString>;
|
|
57
57
|
readonly type: z.ZodEnum<{
|
|
58
58
|
fix: "fix";
|
|
59
|
-
feat: "feat";
|
|
60
59
|
docs: "docs";
|
|
60
|
+
feat: "feat";
|
|
61
61
|
chore: "chore";
|
|
62
62
|
}>;
|
|
63
63
|
readonly severity: z.ZodEnum<{
|
|
@@ -71,6 +71,7 @@ export declare const feedbackFields: {
|
|
|
71
71
|
connectors: "connectors";
|
|
72
72
|
plugins: "plugins";
|
|
73
73
|
distribution: "distribution";
|
|
74
|
+
policy: "policy";
|
|
74
75
|
docs: "docs";
|
|
75
76
|
analytics: "analytics";
|
|
76
77
|
"self-service": "self-service";
|
|
@@ -82,7 +83,6 @@ export declare const feedbackFields: {
|
|
|
82
83
|
compiler: "compiler";
|
|
83
84
|
"multi-surface": "multi-surface";
|
|
84
85
|
enterprise: "enterprise";
|
|
85
|
-
policy: "policy";
|
|
86
86
|
}>;
|
|
87
87
|
};
|
|
88
88
|
export declare const feedbackPreviewInputSchema: z.ZodObject<{
|
|
@@ -91,8 +91,8 @@ export declare const feedbackPreviewInputSchema: z.ZodObject<{
|
|
|
91
91
|
title: z.ZodOptional<z.ZodString>;
|
|
92
92
|
type: z.ZodEnum<{
|
|
93
93
|
fix: "fix";
|
|
94
|
-
feat: "feat";
|
|
95
94
|
docs: "docs";
|
|
95
|
+
feat: "feat";
|
|
96
96
|
chore: "chore";
|
|
97
97
|
}>;
|
|
98
98
|
severity: z.ZodEnum<{
|
|
@@ -106,6 +106,7 @@ export declare const feedbackPreviewInputSchema: z.ZodObject<{
|
|
|
106
106
|
connectors: "connectors";
|
|
107
107
|
plugins: "plugins";
|
|
108
108
|
distribution: "distribution";
|
|
109
|
+
policy: "policy";
|
|
109
110
|
docs: "docs";
|
|
110
111
|
analytics: "analytics";
|
|
111
112
|
"self-service": "self-service";
|
|
@@ -117,7 +118,6 @@ export declare const feedbackPreviewInputSchema: z.ZodObject<{
|
|
|
117
118
|
compiler: "compiler";
|
|
118
119
|
"multi-surface": "multi-surface";
|
|
119
120
|
enterprise: "enterprise";
|
|
120
|
-
policy: "policy";
|
|
121
121
|
}>;
|
|
122
122
|
}, z.core.$strict>;
|
|
123
123
|
export declare const feedbackSubmitInputSchema: z.ZodObject<{
|
|
@@ -127,8 +127,8 @@ export declare const feedbackSubmitInputSchema: z.ZodObject<{
|
|
|
127
127
|
title: z.ZodOptional<z.ZodString>;
|
|
128
128
|
type: z.ZodEnum<{
|
|
129
129
|
fix: "fix";
|
|
130
|
-
feat: "feat";
|
|
131
130
|
docs: "docs";
|
|
131
|
+
feat: "feat";
|
|
132
132
|
chore: "chore";
|
|
133
133
|
}>;
|
|
134
134
|
severity: z.ZodEnum<{
|
|
@@ -142,6 +142,7 @@ export declare const feedbackSubmitInputSchema: z.ZodObject<{
|
|
|
142
142
|
connectors: "connectors";
|
|
143
143
|
plugins: "plugins";
|
|
144
144
|
distribution: "distribution";
|
|
145
|
+
policy: "policy";
|
|
145
146
|
docs: "docs";
|
|
146
147
|
analytics: "analytics";
|
|
147
148
|
"self-service": "self-service";
|
|
@@ -153,14 +154,13 @@ export declare const feedbackSubmitInputSchema: z.ZodObject<{
|
|
|
153
154
|
compiler: "compiler";
|
|
154
155
|
"multi-surface": "multi-surface";
|
|
155
156
|
enterprise: "enterprise";
|
|
156
|
-
policy: "policy";
|
|
157
157
|
}>;
|
|
158
158
|
}, z.core.$strict>;
|
|
159
159
|
declare const operationDataSchema: z.ZodObject<{
|
|
160
160
|
operation: z.ZodEnum<{
|
|
161
161
|
link: "link";
|
|
162
|
-
reconcile: "reconcile";
|
|
163
162
|
initialize: "initialize";
|
|
163
|
+
reconcile: "reconcile";
|
|
164
164
|
"set-variable": "set-variable";
|
|
165
165
|
"set-secret": "set-secret";
|
|
166
166
|
"preview-feedback": "preview-feedback";
|
|
@@ -181,8 +181,8 @@ export declare const operationResultSchema: z.ZodObject<{
|
|
|
181
181
|
data: z.ZodOptional<z.ZodObject<{
|
|
182
182
|
operation: z.ZodEnum<{
|
|
183
183
|
link: "link";
|
|
184
|
-
reconcile: "reconcile";
|
|
185
184
|
initialize: "initialize";
|
|
185
|
+
reconcile: "reconcile";
|
|
186
186
|
"set-variable": "set-variable";
|
|
187
187
|
"set-secret": "set-secret";
|
|
188
188
|
"preview-feedback": "preview-feedback";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-groups.d.ts","sourceRoot":"","sources":["../../src/curated/command-groups.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,iBAAiB;IAChC,yEAAyE;IACzE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,mGAAmG;IACnG,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;CAC1D;AAED,qEAAqE;AACrE,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAShD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"command-groups.d.ts","sourceRoot":"","sources":["../../src/curated/command-groups.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,iBAAiB;IAChC,yEAAyE;IACzE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,mGAAmG;IACnG,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;CAC1D;AAED,qEAAqE;AACrE,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAShD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAsP5D,CAAC"}
|
|
@@ -144,6 +144,10 @@ export const COMMAND_GROUPS = {
|
|
|
144
144
|
group: 'Hosted deploy & operations',
|
|
145
145
|
summary: 'List or inspect individual deployments (`deployments list`/`deployments inspect <id>`).',
|
|
146
146
|
},
|
|
147
|
+
distributions: {
|
|
148
|
+
group: 'Hosted deploy & operations',
|
|
149
|
+
summary: 'Publish immutable host archives, record their lifecycle, and operate bounded delivery.',
|
|
150
|
+
},
|
|
147
151
|
target: {
|
|
148
152
|
group: 'Hosted deploy & operations',
|
|
149
153
|
summary: 'Show or set the deployment target (local|cloud|other).',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-groups.js","sourceRoot":"","sources":["../../src/curated/command-groups.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,EAAE;AACF,8FAA8F;AAC9F,+FAA+F;AAC/F,+FAA+F;AAC/F,gGAAgG;AAWhG,qEAAqE;AACrE,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,wBAAwB;IACxB,qBAAqB;IACrB,4BAA4B;IAC5B,eAAe;IACf,gBAAgB;IAChB,4BAA4B;IAC5B,iBAAiB;IACjB,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAsC;IAC/D,KAAK,EAAE;QACL,KAAK,EAAE,wBAAwB;QAC/B,OAAO,EACL,0FAA0F;KAC7F;IACD,IAAI,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,OAAO,EAAE,gCAAgC,EAAE;IACpF,KAAK,EAAE;QACL,KAAK,EAAE,wBAAwB;QAC/B,OAAO,EAAE,4EAA4E;KACtF;IACD,MAA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nC,OAAO,EAAE,+BAA+B;KACzC;IACD,OAAO,EAAE;QACP,KAAK,EAAE,4BAA4B;QACnC,OAAO,EACL,+FAA+F;YAC/F,+FAA+F;KAClG;IACD,MAAM,EAAE;QACN,KAAK,EAAE,4BAA4B;QACnC,OAAO,EACL,iGAAiG;YACjG,qGAAqG;KACxG;IACD,MAAM,EAAE;QACN,KAAK,EAAE,4BAA4B;QACnC,OAAO,EACL,oGAAoG;YACpG,sGAAsG;KACzG;IAED,IAAI,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,mCAAmC,EAAE;IAChF,OAAO,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,kCAAkC,EAAE;IAClF,QAAQ,EAAE;QACR,KAAK,EAAE,iBAAiB;QACxB,OAAO,EACL,yFAAyF;YACzF,qGAAqG;KACxG;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,iBAAiB;QACxB,OAAO,EACL,sGAAsG;KACzG;IACD,MAAM,EAAE;QACN,KAAK,EAAE,iBAAiB;QACxB,OAAO,EACL,oGAAoG;YACpG,8FAA8F;KACjG;IAED,IAAI,EAAE;QACJ,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE,0EAA0E;QACnF,QAAQ,EAAE,SAAS;KACpB;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"command-groups.js","sourceRoot":"","sources":["../../src/curated/command-groups.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,EAAE;AACF,8FAA8F;AAC9F,+FAA+F;AAC/F,+FAA+F;AAC/F,gGAAgG;AAWhG,qEAAqE;AACrE,MAAM,CAAC,MAAM,mBAAmB,GAAsB;IACpD,wBAAwB;IACxB,qBAAqB;IACrB,4BAA4B;IAC5B,eAAe;IACf,gBAAgB;IAChB,4BAA4B;IAC5B,iBAAiB;IACjB,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAsC;IAC/D,KAAK,EAAE;QACL,KAAK,EAAE,w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ACnC,OAAO,EACL,0HAA0H;QAC5H,QAAQ,EAAE,UAAU;KACrB;IACD,eAAe,EAAE;QACf,KAAK,EAAE,4BAA4B;QACnC,OAAO,EACL,0HAA0H;QAC5H,QAAQ,EAAE,UAAU;KACrB;IACD,MAAM,EAAE;QACN,KAAK,EAAE,4BAA4B;QACnC,OAAO,EAAE,6EAA6E;KACvF;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,4BAA4B;QACnC,OAAO,EAAE,+BAA+B;KACzC;IACD,OAAO,EAAE;QACP,KAAK,EAAE,4BAA4B;QACnC,OAAO,EACL,+FAA+F;YAC/F,+FAA+F;KAClG;IACD,MAAM,EAAE;QACN,KAAK,EAAE,4BAA4B;QACnC,OAAO,EACL,iGAAiG;YACjG,qGAAqG;KACxG;IACD,MAAM,EAAE;QACN,KAAK,EAAE,4BAA4B;QACnC,OAAO,EACL,oGAAoG;YACpG,sGAAsG;KACzG;IAED,IAAI,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,mCAAmC,EAAE;IAChF,OAAO,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,kCAAkC,EAAE;IAClF,QAAQ,EAAE;QACR,KAAK,EAAE,iBAAiB;QACxB,OAAO,EACL,yFAAyF;YACzF,qGAAqG;KACxG;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,iBAAiB;QACxB,OAAO,EACL,sGAAsG;KACzG;IACD,MAAM,EAAE;QACN,KAAK,EAAE,iBAAiB;QACxB,OAAO,EACL,oGAAoG;YACpG,8FAA8F;KACjG;IAED,IAAI,EAAE;QACJ,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE,0EAA0E;QACnF,QAAQ,EAAE,SAAS;KACpB;CACF,CAAC"}
|
|
@@ -57,7 +57,7 @@ export const BUNDLED_EXAMPLE_FILES = [
|
|
|
57
57
|
{ relPath: "examples/customer-auth/package.json", content: "{\n \"name\": \"customer-auth\",\n \"version\": \"0.1.0\",\n \"private\": true,\n \"type\": \"module\",\n \"scripts\": {\n \"test\": \"vitest run\",\n \"validate\": \"noodle validate\",\n \"dev\": \"noodle dev\",\n \"deploy\": \"noodle deploy\"\n },\n \"devDependencies\": {\n \"@noodleseed/one\": \"latest\",\n \"vitest\": \"latest\"\n }\n}\n" },
|
|
58
58
|
{ relPath: "examples/customer-auth/src/server.ts", content: "import {\n annotations,\n authenticatedWebsite,\n connector,\n customerAuth,\n customerEndpoint,\n embeddedAssistant,\n openAICompatible,\n secret,\n server,\n tool,\n variable,\n z,\n} from '@noodleseed/one';\n\nconst customerApi = customerEndpoint('customer_api', {\n allowedHttpsHostSuffixes: ['api.noodleseed.dev'],\n});\n\nconst noodleseedApi = connector('noodleseed_app_api')\n .version('1.0.0')\n .http({\n baseUrl: customerApi,\n auth: {\n kind: 'delegatedTokenExchange',\n tokenUrl: 'https://id.noodleseed.dev/oauth/token',\n clientId: variable('CUSTOMER_API_CLIENT_ID'),\n clientSecret: secret('CUSTOMER_API_CLIENT_SECRET'),\n scopes: ['organizations:read', 'org_apps:read', 'org_apps:write'],\n audience: 'noodleseed-customer-api',\n },\n operations: {\n list_org_apps: {\n type: 'read',\n method: 'GET',\n path: '/api/organizations/${args.org_id}/apps',\n query: ['skip', 'limit'],\n input: z.object({\n org_id: z.string(),\n skip: z.number().optional(),\n limit: z.number().optional(),\n }),\n output: z.object({ result: z.unknown().optional() }),\n response: {\n result: '${response}',\n },\n },\n list_organizations: {\n type: 'read',\n method: 'GET',\n path: '/api/organizations',\n output: z.object({ organizations: z.array(z.unknown()).optional() }),\n response: {\n organizations: '${response.organizations}',\n },\n },\n archive_org_app: {\n type: 'action',\n method: 'POST',\n path: '/api/organizations/${args.org_id}/apps/${args.app_id}/archive',\n input: z.object({\n org_id: z.string(),\n app_id: z.string(),\n }),\n output: z.object({ archived: z.boolean() }),\n response: {\n archived: '${response.archived}',\n },\n },\n },\n });\n\nexport default server(\n 'noodleseed_customer_auth',\n {\n title: 'NoodleSeed.com Customer Auth',\n version: '1.0.0',\n branding: {\n name: 'Noodle Seed Assistant',\n accent: '#E85D24',\n surface: '#FFFFFF',\n surfaceDark: '#171310',\n colorScheme: 'auto',\n theme: {\n light: { accentText: '#FFFFFF', text: '#1C1714' },\n dark: { accent: '#FF8A4C', accentText: '#1C100A', text: '#FFF8F2' },\n },\n },\n use: { app_api: noodleseedApi },\n interactions: { confirmationFallback: 'host' },\n auth: customerAuth.oidc({\n issuer: 'https://id.noodleseed.dev',\n audience: 'noodleseed-customer-auth-prod',\n claims: {\n id: 'sub',\n email: 'email',\n name: 'name',\n orgs: 'permissions.orgs',\n roles: 'permissions.roles',\n scopes: 'permissions.scopes',\n },\n routing: {\n endpoints: {\n customer_api: { claim: 'tenant.api_base_url' },\n },\n },\n }),\n instructions:\n 'Direct/federated MCP OIDC demo. The customer IdP proves identity and privately selects the tenant API base URL, while the broker supplies delegated credentials and confirmed actions stay bound to the reviewed route.',\n assistant: embeddedAssistant({\n model: openAICompatible({\n baseUrl: variable('ASSISTANT_MODEL_BASE_URL'),\n model: variable('ASSISTANT_MODEL'),\n apiKey: secret('ASSISTANT_MODEL_API_KEY'),\n }),\n // Production origins are exact HTTPS; http://localhost:<port> is allowed for local development.\n access: authenticatedWebsite({\n origins: [\n 'https://app.noodleseed.com',\n 'https://dev.noodleseed.com',\n 'http://localhost:3000',\n ],\n }),\n layout: { mode: 'floating', position: 'bottom-right', panelWidth: 420 },\n labels: {\n welcomeHeading: 'How can I help with Noodle Seed?',\n composerPlaceholder: 'Ask about your apps…',\n },\n presentation: {\n panel: { surface: 'glass', elevation: 'soft', border: 'subtle' },\n launcher: { icon: 'brand-mark', status: 'session', effect: 'pulse' },\n header: {\n mark: 'status',\n badge: { text: 'Workspace online', tone: 'success', indicator: true },\n },\n composer: { leadingIcon: 'brand-mark', shape: 'pill' },\n },\n suggestedPrompts: ['Explain how to connect this customer-authenticated MCP server'],\n }),\n },\n [\n tool('list_org_apps', {\n title: 'List organization apps',\n description: 'List NoodleSeed.com apps for an organization from its customer API.',\n authorization: {\n requiredScopes: ['org_apps:read'],\n allowedRoles: ['org_admin', 'org_member'],\n },\n input: z.object({\n org_id: z.string().meta({ title: 'Organization' }),\n skip: z.number().int().min(0).optional().meta({ title: 'Starting item' }),\n limit: z.number().int().min(1).max(100).optional().meta({ title: 'Maximum results' }),\n }),\n output: z.object({\n result: z.unknown(),\n }),\n annotations: annotations.readOnly(),\n fulfil({ input, connectors }) {\n const apps = connectors.app_api.listOrgApps({\n org_id: input.org_id,\n skip: input.skip,\n limit: input.limit,\n });\n return {\n result: apps.result,\n };\n },\n }),\n tool('list_my_organizations', {\n title: 'List my organizations',\n description: 'List the NoodleSeed.com organizations the signed-in customer belongs to.',\n contextProvider: true,\n input: z.object({}),\n // The customer API returns every organization for the signed-in customer in one response, with no\n // page parameter to pass through, so the bound is declared on the shape. A customer belongs to a\n // handful of organizations; `noodle check` reports an unbounded list as\n // `tool_design_output_bounds`.\n output: z.object({\n organizations: z.array(z.unknown()).max(100),\n }),\n annotations: annotations.readOnly(),\n fulfil({ connectors }) {\n const organizations = connectors.app_api.listOrganizations();\n return {\n organizations: organizations.organizations,\n };\n },\n }),\n tool('archive_org_app', {\n title: 'Archive organization app',\n description: 'Archive one NoodleSeed.com app through its customer API after confirmation.',\n authorization: {\n requiredScopes: ['org_apps:write'],\n allowedRoles: ['org_admin'],\n },\n input: z.object({\n org_id: z.string().meta({ title: 'Organization' }),\n app_id: z.string().meta({ title: 'App' }),\n }),\n output: z.object({\n archived: z.boolean(),\n }),\n annotations: annotations.openAction({ destructive: false, confirm: true }),\n fulfil({ input, connectors }) {\n const result = connectors.app_api.archiveOrgApp({\n org_id: input.org_id,\n app_id: input.app_id,\n });\n return {\n archived: result.archived,\n };\n },\n }),\n ],\n);\n" },
|
|
59
59
|
{ relPath: "examples/customer-auth/test/server.test.ts", content: "import { describe, expect, it } from 'vitest';\nimport app from '../src/server.js';\n\ndescribe('customer-auth example', () => {\n it('exports a customer-authenticated, customer-branded embedded assistant', async () => {\n expect(typeof app.toManifest).toBe('function');\n const manifest = await app.toManifest();\n expect(manifest.server.assistant).toMatchObject({\n model: { kind: 'openai-compatible', apiKey: 'ASSISTANT_MODEL_API_KEY' },\n layout: { mode: 'floating' },\n presentation: {\n panel: { surface: 'glass', elevation: 'soft', border: 'subtle' },\n launcher: { icon: 'brand-mark', status: 'session', effect: 'pulse' },\n header: { mark: 'status', badge: { text: 'Workspace online', tone: 'success' } },\n },\n });\n expect(\n manifest.server.assistant?.allowedOrigins.every(\n (origin) => origin.startsWith('https://') || origin.startsWith('http://localhost:'),\n ),\n ).toBe(true);\n expect(manifest.server.branding).toMatchObject({\n name: 'Noodle Seed Assistant',\n colorScheme: 'auto',\n });\n expect(manifest.server.auth).toEqual({\n kind: 'oidc',\n issuer: 'https://id.noodleseed.dev',\n audience: 'noodleseed-customer-auth-prod',\n claims: {\n id: 'sub',\n email: 'email',\n name: 'name',\n orgs: 'permissions.orgs',\n roles: 'permissions.roles',\n scopes: 'permissions.scopes',\n },\n routing: {\n endpoints: {\n customer_api: { claim: 'tenant.api_base_url' },\n },\n },\n });\n expect(manifest.server.interactions).toEqual({ confirmationFallback: 'host' });\n const catalog = app.toConnectorCatalog();\n expect(catalog?.connectors).toHaveLength(1);\n expect(catalog?.connectors[0]?.http).toMatchObject({\n baseUrl: {\n kind: 'customerEndpoint',\n name: 'customer_api',\n policy: { allowedHttpsHostSuffixes: ['api.noodleseed.dev'] },\n },\n auth: {\n kind: 'delegatedTokenExchange',\n tokenUrl: 'https://id.noodleseed.dev/oauth/token',\n clientId: '${env.CUSTOMER_API_CLIENT_ID}',\n clientSecret: 'CUSTOMER_API_CLIENT_SECRET',\n },\n });\n expect(catalog?.connectors[0]?.operations).toMatchObject({\n list_org_apps: { type: 'read' },\n list_organizations: { type: 'read' },\n archive_org_app: { type: 'action', method: 'POST' },\n });\n expect(catalog?.connectors[0]?.http).not.toHaveProperty('allowedOrigins');\n expect(JSON.stringify({ manifest, catalog })).not.toContain('tenant-a.api.noodleseed.dev');\n expect(manifest.tools.find((tool) => tool.name === 'list_org_apps')?.authorization).toEqual({\n requiredScopes: ['org_apps:read'],\n allowedRoles: ['org_admin', 'org_member'],\n });\n expect(\n manifest.tools.find((tool) => tool.name === 'list_my_organizations')?.authorization,\n ).toBeUndefined();\n expect(manifest.tools.find((tool) => tool.name === 'archive_org_app')).toMatchObject({\n authorization: {\n requiredScopes: ['org_apps:write'],\n allowedRoles: ['org_admin'],\n },\n annotations: {\n readOnlyHint: false,\n destructiveHint: false,\n openWorldHint: true,\n confirm: true,\n },\n });\n });\n});\n" },
|
|
60
|
-
{ relPath: "examples/food-ordering/README.md", content: "# Food Ordering\n\n**Owns:** The flagship consumer ordering MCP App example: React view authoring, app-only helper tools,\ncaller-scoped cart state handles, invocation context, model-visible widget state/lifecycle, packaged image\nassets, portable structured elicitation, checkout handoff policy, host actions, CSP/permissions metadata,\nproduct-agent guidance, host-neutral distribution metadata, and widget preview coverage.\n\nFood Ordering is a generic, synthetic version of a live marketplace ordering app. It lets a user search\nstores, browse menus, customize an item, build a multi-line cart, review the order, and hand off checkout to\nan allowlisted example domain. It does not use real restaurant APIs, real checkout, customer credentials, or\nprivate customer data.\n\n## What It Shows\n\n| Capability | Example |\n| :--- | :--- |\n| Public entry tool | `open_ordering` returns structured fallback content and renders the React widget |\n| Product and distribution projections | `agentGuide` supplies grounded cross-capability guidance; `distribution` supplies listing, publisher, legal, image, and review facts separately from the runtime manifest |\n| App-only helper tools | `search_stores`, `load_menu`, `load_item`, `read_cart`, `sync_cart`, `prepare_checkout`; mutating widget-owned helpers use `confirm: false` (equivalent to omission) and execute directly because action hints alone never gate |\n| Durable cart state | `server(..., { state: { handles: { cart } }, use: { state } })` with caller scope and revision checks |\n| React app runtime kit | `@noodleseed/one/react` supplies app flow, shell/nav/view, async state, form, quantity, choice, and handoff primitives |\n| Multi-step widget flow | One React shell navigates stores, menu, item customization, cart, review, and handoff views through `useAppFlow` |\n| Invocation context | `server.context` sets locale/time-zone defaults, derives an ambient service area/date, and exposes optional host-supplied coordinates to tools and the reserved `noodle_context` MCP adapter; location is an untrusted convenience hint, never an authorization signal or a substitute for explicit input |\n| Structured missing input | `plan_order` uses `ctx.elicit` to collect a fulfilment method and date through embedded/headless forms, standard bidirectional elicitation, a linked MCP App form, or an exact structured conversational retry on stateless hosts |\n| Model-visible widget state | `useUpdateModelContext` publishes one cohesive replacement snapshot when supported; `useWidgetLifecycle` auto-publishes mounted/cancelled/dismissed and reports author-owned submitted milestones for future context (not host-presentation proof), while the user-triggered submit pairs `useSendFollowUpMessage` for an immediate reply |\n| Handoff | `handoff.allowedDomains` allows only `https://orders.example.com` checkout URLs |\n| Progressive enhancement | Non-Apps hosts still receive stores, featured items, and a readable fallback summary |\n| Fail-closed hydration | The React view treats only the unhydrated, pre-result `{}` envelope as pending; a hydrated empty success remains distinct. It surfaces `isError`, validates required records and identifiers, and withholds ordering actions from malformed results |\n\nThe example is intentionally richer than the generated starter, but each inline view still follows the\nsame default: one immediate purpose, one primary action, at most one subordinate action, and progressive\ndisclosure for the rest. Preview it at 280px before adding navigation or local CSS; loading, empty, stale,\nerror/retry, and success states must remain readable without nested vertical scrolling.\n\nLike the comprehensive default `noodle init my-app` scaffold, this flagship keeps the server feature-rich\nwhile making each individual widget view focused; server capability breadth and screen density are separate.\nThe compiled initial widget should normally remain under the 1 MiB performance recommendation; Noodle Seed's\nhard ceilings are 10 MiB per compiled widget and 20 MiB across one deployment. Run `noodle check` to see raw\nand gzip-estimated sizes. Deploy requests are gzip-compressed as one stream so repeated self-contained React\nruntime bytes deduplicate on the wire without a cross-tenant CDN. Keep menu images or large live datasets in assets/resources and app-only tools\nrather than embedding them into the initial HTML bundle.\n\n## Local Author Loop\n\n```sh\nnoodle validate\nnoodle test\nnoodle dev\n```\n\nThe same `server.ts` declares `distribution` metadata for host adapters. It references real packaged images\nand keeps listing copy, support/legal URLs, and positive/negative review scenarios outside the canonical App\nPackage and Runtime Artifact. Explicit OpenAI and Claude adapters project those facts with the generated\nproduct skill; installable plugin archives and directory-submission dossiers remain separate outputs.\n\nIn another terminal:\n\n```sh\nnoodle tools list\nnoodle tools call open_ordering --args '{\"customer\":\"Asha\",\"query\":\"noodles\"}'\nnoodle tools call summarize_ordering_options --args '{}'\n```\n\nWhen a developer finalizes visual feedback in the local Design experience, a coding agent can inspect the\nlatest project-local brief without a path or session id:\n\n```sh\nnoodle design inspect --latest --json\n```\n\nThe agent should locate the captured elements in this example's authored React source, preserve the listed\nbehavior and accessibility constraints, and verify every acceptance check before changing unrelated UI.\n\nFor Apps metadata conformance, start `noodle dev`, copy the loopback MCP endpoint, then run:\n\n```sh\nnpx @mcpjam/cli@latest apps conformance --url http://127.0.0.1:<port>/o/demo/food-ordering/mcp --quiet --format json\n```\n\n## Export an OpenAI plugin\n\nThis flagship includes the guided workflows, listing metadata, review cases, and image assets needed to test\nOpenAI export. See the public [product-agent guide](https://docs.noodleseed.dev/docs/guides/product-agent-guides#export-an-openai-package)\nfor the current package workflow and boundaries.\n\nAgainst its deployed MCP URL, generate the Food Ordering submission candidate with:\n\n```sh\nnoodle export plugin openai \\\n --state submission \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --category \"Food & Drink\" \\\n --output food-ordering-openai.zip\n```\n\nExtract `food-ordering-openai.zip` before using the portal. Upload\n`submission/chatgpt-app-submission.json` to the Codex-assisted import field and\n`submission/food-ordering-skill.zip` to **With MCP → Skills**. The outer ZIP is the complete review kit and\nis not itself a valid skill upload; `submission/README.md` repeats the portal steps.\n\nAfter registering that same URL in ChatGPT developer mode, substitute its real technical ID to generate the\nFood Ordering local test package:\n\n```sh\nnoodle export plugin openai \\\n --state local \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --category \"Food & Drink\" \\\n --registered-app-id plugin_asdk_app_0123456789abcdef0123456789abcdef \\\n --output food-ordering-openai-local.zip\n```\n\n## Export for Claude\n\nClaude Code plugin packaging and Anthropic Connector Directory review are separate outputs. Generate the\ninstallable plugin repository with:\n\n```sh\nnoodle export plugin claude \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --output food-ordering-claude.zip\n```\n\nGenerate the credential-free operator dossier for the remote Connector Directory with:\n\n```sh\nnoodle export connector claude \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --auth none \\\n --category \"Food & Drink\" \\\n --output food-ordering-anthropic-connector.zip\n```\n\nThe dossier is deliberately marked `portalUploadable: false`: it gathers the listing, tool annotations,\nuse cases, allowed-link candidates, test-account guidance, and MCP App screenshot evidence, but a human must\nverify ownership/compliance and enter the final answers in Anthropic's portal. The plugin ZIP does not\ncontain this dossier.\n\n## Client Setup\n\nUse the CLI to print the exact setup flow for your MCP client:\n\n```sh\nnoodle connect claude\nnoodle connect chatgpt\nnoodle connect inspector\n```\n\n## Deploy\n\n```sh\nnoodle deploy --org demo --app food-ordering --env prod --access owner-only\nnoodle open\n```\n\nThat one deploy command preflights the complete target, creates a missing app/environment, and verifies\nhosted readiness. If it is interrupted, rerun the same command to resume the unfinished operation without a\nduplicate deployment. Use `--access org-members` for an org-wide internal demo. This example has no\nconnector secrets and does not include tokens, caller-key mechanisms, or `.env.noodle` values.\n\n## Demo Assets\n\nThe packaged demo images live under `assets/`. The current app uses `assets/noodle-bowl.jpg` as the server\nbranding image. Its three distribution screenshots are real, response-only MCP App captures from Noodle\nDevtools at 2× device scale; each is 1640×970 PNG and has the producing user prompt next to its `asset(...)`\nreference in `server.ts`.\n\nImage sources:\n\n- `assets/noodle-bowl.jpg` — Unsplash photo\n [`IRv8V9Hb8gI`](https://unsplash.com/photos/IRv8V9Hb8gI), downloaded from Unsplash.\n- `assets/food-ordering-stores.png` — store-discovery state produced by “Help me build a noodle order for\n pickup.”\n- `assets/food-ordering-menu.png` — Harbor Noodles menu state produced by “Show me the Harbor Noodles\n menu.”\n- `assets/food-ordering-handoff.png` — checkout-handoff state produced by “Review my spicy miso bowl order\n before checkout.”\n\nThe Unsplash branding photo is free to use under the [Unsplash License](https://unsplash.com/license);\nattribution is not required, but the source note is kept here for provenance.\n" },
|
|
60
|
+
{ relPath: "examples/food-ordering/README.md", content: "# Food Ordering\n\n**Owns:** The flagship consumer ordering MCP App example: React view authoring, app-only helper tools,\ncaller-scoped cart state handles, invocation context, model-visible widget state/lifecycle, packaged image\nassets, portable structured elicitation, checkout handoff policy, host actions, CSP/permissions metadata,\nproduct-agent guidance, host-neutral distribution metadata, and widget preview coverage.\n\nFood Ordering is a generic, synthetic version of a live marketplace ordering app. It lets a user search\nstores, browse menus, customize an item, build a multi-line cart, review the order, and hand off checkout to\nan allowlisted example domain. It does not use real restaurant APIs, real checkout, customer credentials, or\nprivate customer data.\n\n## What It Shows\n\n| Capability | Example |\n| :--- | :--- |\n| Public entry tool | `open_ordering` returns structured fallback content and renders the React widget |\n| Product and distribution projections | `agentGuide` supplies grounded cross-capability guidance; `distribution` supplies listing, publisher, legal, image, and review facts separately from the runtime manifest |\n| App-only helper tools | `search_stores`, `load_menu`, `load_item`, `read_cart`, `sync_cart`, `prepare_checkout`; mutating widget-owned helpers use `confirm: false` (equivalent to omission) and execute directly because action hints alone never gate |\n| Durable cart state | `server(..., { state: { handles: { cart } }, use: { state } })` with caller scope and revision checks |\n| React app runtime kit | `@noodleseed/one/react` supplies app flow, shell/nav/view, async state, form, quantity, choice, and handoff primitives |\n| Multi-step widget flow | One React shell navigates stores, menu, item customization, cart, review, and handoff views through `useAppFlow` |\n| Invocation context | `server.context` sets locale/time-zone defaults, derives an ambient service area/date, and exposes optional host-supplied coordinates to tools and the reserved `noodle_context` MCP adapter; location is an untrusted convenience hint, never an authorization signal or a substitute for explicit input |\n| Structured missing input | `plan_order` uses `ctx.elicit` to collect a fulfilment method and date through embedded/headless forms, standard bidirectional elicitation, a linked MCP App form, or an exact structured conversational retry on stateless hosts |\n| Model-visible widget state | `useUpdateModelContext` publishes one cohesive replacement snapshot when supported; `useWidgetLifecycle` auto-publishes mounted/cancelled/dismissed and reports author-owned submitted milestones for future context (not host-presentation proof), while the user-triggered submit pairs `useSendFollowUpMessage` for an immediate reply |\n| Handoff | `handoff.allowedDomains` allows only `https://orders.example.com` checkout URLs |\n| Progressive enhancement | Non-Apps hosts still receive stores, featured items, and a readable fallback summary |\n| Fail-closed hydration | The React view treats only the unhydrated, pre-result `{}` envelope as pending; a hydrated empty success remains distinct. It surfaces `isError`, validates required records and identifiers, and withholds ordering actions from malformed results |\n\nThe example is intentionally richer than the generated starter, but each inline view still follows the\nsame default: one immediate purpose, one primary action, at most one subordinate action, and progressive\ndisclosure for the rest. Preview it at 280px before adding navigation or local CSS; loading, empty, stale,\nerror/retry, and success states must remain readable without nested vertical scrolling.\n\nLike the comprehensive default `noodle init my-app` scaffold, this flagship keeps the server feature-rich\nwhile making each individual widget view focused; server capability breadth and screen density are separate.\nThe compiled initial widget should normally remain under the 1 MiB performance recommendation; Noodle Seed's\nhard ceilings are 10 MiB per compiled widget and 20 MiB across one deployment. Run `noodle check` to see raw\nand gzip-estimated sizes. Deploy requests are gzip-compressed as one stream so repeated self-contained React\nruntime bytes deduplicate on the wire without a cross-tenant CDN. Keep menu images or large live datasets in assets/resources and app-only tools\nrather than embedding them into the initial HTML bundle.\n\n## Local Author Loop\n\n```sh\nnoodle validate\nnoodle test\nnoodle dev\n```\n\nThe same `server.ts` declares `distribution` metadata for host adapters. It references real packaged images\nand keeps listing copy, support/legal URLs, and positive/negative review scenarios outside the canonical App\nPackage and Runtime Artifact. Explicit OpenAI and Claude adapters project those facts with the generated\nproduct skill; installable plugin archives and directory-submission dossiers remain separate outputs.\n\nIn another terminal:\n\n```sh\nnoodle tools list\nnoodle tools call open_ordering --args '{\"customer\":\"Asha\",\"query\":\"noodles\"}'\nnoodle tools call summarize_ordering_options --args '{}'\n```\n\nWhen a developer finalizes visual feedback in the local Design experience, a coding agent can inspect the\nlatest project-local brief without a path or session id:\n\n```sh\nnoodle design inspect --latest --json\n```\n\nThe agent should locate the captured elements in this example's authored React source, preserve the listed\nbehavior and accessibility constraints, and verify every acceptance check before changing unrelated UI.\n\nFor Apps metadata conformance, start `noodle dev`, copy the loopback MCP endpoint, then run:\n\n```sh\nnpx @mcpjam/cli@latest apps conformance --url http://127.0.0.1:<port>/o/demo/food-ordering/mcp --quiet --format json\n```\n\n## Export an OpenAI plugin\n\nThis flagship includes the guided workflows, listing metadata, review cases, and image assets needed to test\nOpenAI export. See the public [product-agent guide](https://docs.noodleseed.dev/docs/guides/product-agent-guides#export-an-openai-package)\nfor the current package workflow and boundaries.\n\nAgainst its deployed MCP URL, generate the Food Ordering submission candidate with:\n\n```sh\nnoodle export plugin openai \\\n --state submission \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --category \"Food & Drink\" \\\n --output food-ordering-openai.zip\n```\n\nExtract `food-ordering-openai.zip` before using the portal. Upload\n`submission/chatgpt-app-submission.json` to the Codex-assisted import field and\n`submission/food-ordering-skill.zip` to **With MCP → Skills**. The outer ZIP is the complete review kit and\nis not itself a valid skill upload; `submission/README.md` repeats the portal steps.\n\nAfter registering that same URL in ChatGPT developer mode, substitute its real technical ID to generate the\nFood Ordering local test package:\n\n```sh\nnoodle export plugin openai \\\n --state local \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --category \"Food & Drink\" \\\n --registered-app-id plugin_asdk_app_0123456789abcdef0123456789abcdef \\\n --output food-ordering-openai-local.zip\n```\n\n## Export for Claude\n\nClaude Code plugin packaging and Anthropic Connector Directory review are separate outputs. Generate the\ninstallable plugin repository with:\n\n```sh\nnoodle export plugin claude \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --output food-ordering-claude.zip\n```\n\nGenerate the credential-free operator dossier for the remote Connector Directory with:\n\n```sh\nnoodle export connector claude \\\n --mcp-url https://food-ordering.noodleseed.app/mcp \\\n --auth none \\\n --category \"Food & Drink\" \\\n --output food-ordering-anthropic-connector.zip\n```\n\nThe dossier is deliberately marked `portalUploadable: false`: it gathers the listing, tool annotations,\nuse cases, allowed-link candidates, test-account guidance, and MCP App screenshot evidence, but a human must\nverify ownership/compliance and enter the final answers in Anthropic's portal. The plugin ZIP does not\ncontain this dossier.\n\n## Client Setup\n\nUse the CLI to print the exact setup flow for your MCP client:\n\n```sh\nnoodle connect claude\nnoodle connect chatgpt\nnoodle connect inspector\n```\n\n## Deploy\n\n```sh\nnoodle deploy --org demo --app food-ordering --env prod --access owner-only\nnoodle open\n```\n\nThat one deploy command preflights the complete target, creates a missing app/environment, and verifies\nhosted readiness. If it is interrupted, rerun the same command to resume the unfinished operation without a\nduplicate deployment. Use `--access org-members` for an org-wide internal demo. This example has no\nconnector secrets and does not include tokens, caller-key mechanisms, or `.env.noodle` values.\n\n### Publish an immutable host archive\n\nOnly when this demo is intentionally being prepared for an external directory, deploy it with exact public\naccess and use the returned deployment ID to publish the matching local source:\n\n```sh\nnoodle deploy --org demo --app food-ordering --env prod --access public\nnoodle distributions publish <deployment-id> src/server.ts --target openai --category \"Food & Drink\"\nnoodle distributions list <deployment-id> --target openai\nnoodle distributions readiness <distribution-id> --status ready --note \"Archive and review evidence checked\"\nnoodle distributions release <distribution-id> --visibility private\nnoodle distributions grant <distribution-id> --expires-in 900\nnoodle distributions download <distribution-id> --output food-ordering-openai.zip\n```\n\nPublish fails if local `src/server.ts` no longer compiles to that deployment's package snapshot. Readiness is\nan explicit operator claim, the private release keeps anonymous discovery off, and the grant prints one\nsensitive exact-version reviewer URL. Record `noodle distributions review` only after a human observes the\nreal portal state. Public Noodle delivery, rollback, deprecation, and terminal revocation are separate explicit\nactions; none submits to a directory or claims acceptance.\n\n## Demo Assets\n\nThe packaged demo images live under `assets/`. The current app uses `assets/noodle-bowl.jpg` as the server\nbranding image. Its three distribution screenshots are real, response-only MCP App captures from Noodle\nDevtools at 2× device scale; each is 1640×970 PNG and has the producing user prompt next to its `asset(...)`\nreference in `server.ts`.\n\nImage sources:\n\n- `assets/noodle-bowl.jpg` — Unsplash photo\n [`IRv8V9Hb8gI`](https://unsplash.com/photos/IRv8V9Hb8gI), downloaded from Unsplash.\n- `assets/food-ordering-stores.png` — store-discovery state produced by “Help me build a noodle order for\n pickup.”\n- `assets/food-ordering-menu.png` — Harbor Noodles menu state produced by “Show me the Harbor Noodles\n menu.”\n- `assets/food-ordering-handoff.png` — checkout-handoff state produced by “Review my spicy miso bowl order\n before checkout.”\n\nThe Unsplash branding photo is free to use under the [Unsplash License](https://unsplash.com/license);\nattribution is not required, but the source note is kept here for provenance.\n" },
|
|
61
61
|
{ relPath: "examples/food-ordering/noodle.json", content: "{\n \"entrypoint\": \"src/server.ts\",\n \"name\": \"food-ordering\",\n \"template\": \"widget\"\n}\n" },
|
|
62
62
|
{ relPath: "examples/food-ordering/package.json", content: "{\n \"name\": \"food-ordering\",\n \"version\": \"0.1.0\",\n \"private\": true,\n \"type\": \"module\",\n \"scripts\": {\n \"test\": \"vitest run test\",\n \"validate\": \"noodle validate\",\n \"dev\": \"noodle dev\",\n \"deploy\": \"noodle deploy\"\n },\n \"devDependencies\": {\n \"@vitejs/plugin-react\": \"latest\",\n \"@noodleseed/one\": \"latest\",\n \"@types/react\": \"latest\",\n \"@types/react-dom\": \"latest\",\n \"react\": \"latest\",\n \"react-dom\": \"latest\",\n \"vite\": \"latest\",\n \"vitest\": \"latest\"\n }\n}\n" },
|
|
63
63
|
{ relPath: "examples/food-ordering/src/agent-guide.ts", content: "import type { AgentGuideSource } from '@noodleseed/one';\n\n/** Product guidance for the model-visible ordering and planning workflows. */\nexport const FOOD_ORDERING_AGENT_GUIDE = {\n description:\n 'Use Food Ordering to browse synthetic local options, build a reviewable cart, and hand checkout to the user.',\n useWhen: [\n 'The user wants to browse nearby food or assemble an order.',\n 'The user wants a structured pickup or delivery plan before ordering.',\n ],\n workflows: [\n {\n id: 'build_order',\n title: 'Browse and build an order',\n steps: [\n {\n capability: { kind: 'tool', name: 'open_ordering' },\n guidance:\n 'Open the ordering app so the user can choose a store, review the cart, and control checkout handoff.',\n },\n ],\n },\n {\n id: 'summarize_options',\n title: 'Summarize available options',\n steps: [{ capability: { kind: 'tool', name: 'summarize_ordering_options' } }],\n },\n {\n id: 'plan_fulfilment',\n title: 'Plan pickup or delivery',\n steps: [\n {\n capability: { kind: 'tool', name: 'plan_order' },\n guidance: 'Collect the user’s fulfilment preference without claiming to place an order.',\n },\n ],\n },\n ],\n boundaries: [\n 'Treat every store, menu item, price, and service area in this example as synthetic.',\n 'Never claim checkout or payment completed; the final order happens only after the external handoff.',\n ],\n examples: [\n { prompt: 'Help me put together a noodle order.', workflow: 'build_order' },\n { prompt: 'What food options are available?', workflow: 'summarize_options' },\n { prompt: 'Plan a delivery for Friday.', workflow: 'plan_fulfilment' },\n ],\n} as const satisfies AgentGuideSource;\n" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example-files.js","sourceRoot":"","sources":["../../src/generated/example-files.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,kFAAkF;AAClF,iGAAiG;AAQjG,uGAAuG;AACvG,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACtD,OAAO;IACP,SAAS;IACT,eAAe;IACf,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,eAAe;IACf,qBAAqB;IACrB,iBAAiB;CAClB,CAAC;AAEF,yGAAyG;AACzG,MAAM,CAAC,MAAM,qBAAqB,GAAkC;IAClE,EAAE,OAAO,EAAE,gCAAgC,EAAE,OAAO,EAAE,4oEAA4oE,EAAE;IACpsE,EAAE,OAAO,EAAE,4CAA4C,EAAE,OAAO,EAAE,u/wBAAu/wB,EAAE;IAC3jxB,EAAE,OAAO,EAAE,6CAA6C,EAAE,OAAO,EAAE,kkQAAkkQ,EAAE;IACvoQ,EAAE,OAAO,EAAE,4CAA4C,EAAE,OAAO,EAAE,klqDAAklqD,EAAE;IACtpqD,EAAE,OAAO,EAAE,kCAAkC,EAAE,OAAO,EAAE,wGAAwG,EAAE;IAClK,EAAE,OAAO,EAAE,mCAAmC,EAAE,OAAO,EAAE,mfAAmf,EAAE;IAC9iB,EAAE,OAAO,EAAE,qCAAqC,E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AAO,EAAE,0BAA0B,EAAE,OAAO,EAAE,i6FAAi6F,EAAE;IACn9F,EAAE,OAAO,EAAE,4BAA4B,EAAE,OAAO,EAAE,iGAAiG,EAAE;IACrJ,EAAE,OAAO,EAAE,6BAA6B,EAAE,OAAO,EAAE,sXAAsX,EAAE;IAC3a,EAAE,OAAO,EAAE,8BAA8B,EAAE,OAAO,EAAE,oiCAAoiC,EAAE;IAC1lC,EAAE,OAAO,EAAE,oCAAoC,EAAE,OAAO,EAAE,msBAAmsB,EAAE;IAC/vB,EAAE,OAAO,EAAE,4BAA4B,EAAE,OAAO,EAAE,2tKAA2tK,EAAE;IAC/wK,EAAE,OAAO,EAAE,8BAA8B,EAAE,OAAO,EAAE,uEAAuE,EAAE;IAC7H,EAAE,OAAO,EAAE,+BAA+B,EAAE,OAAO,EAAE,6WAA6W,EAAE;IACpa,EAAE,OAAO,EAAE,gCAAgC,EAAE,OAAO,EAAE,2rUAA2rU,EAAE;IACnvU,EAAE,OAAO,EAAE,sCAAsC,EAAE,OAAO,EAAE,+pDAA+pD,EAAE;CAC9tD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../src/generated/surface.ts"],"names":[],"mappings":"AAIA,qGAAqG;AACrG,eAAO,MAAM,YAAY,EAAE,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../src/generated/surface.ts"],"names":[],"mappings":"AAIA,qGAAqG;AACrG,eAAO,MAAM,YAAY,EAAE,SAAS,MAAM,EA8DzC,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,WAAW,EAAE,SAAS,MAAM,EA6BxC,CAAC;AAEF,iGAAiG;AACjG,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EA0EhD,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,WAAW,EAAE,SAAS,MAAM,EAcxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.js","sourceRoot":"","sources":["../../src/generated/surface.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,6EAA6E;AAC7E,iGAAiG;AAEjG,qGAAqG;AACrG,MAAM,CAAC,MAAM,YAAY,GAAsB;IAC7C,MAAM;IACN,SAAS;IACT,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,OAAO;IACP,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACT,KAAK;IACL,UAAU;IACV,QAAQ;IACR,OAAO;IACP,WAAW;IACX,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,eAAe;IACf,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;IACP,UAAU;IACV,SAAS;IACT,SAAS;IACT,QAAQ;IACR,MAAM;IACN,MAAM;IACN,aAAa;IACb,SAAS;IACT,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,MAAM;IACN,MAAM;IACN,SAAS;IACT,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,SAAS;IACT,WAAW;CACZ,CAAC;AAEF,8FAA8F;AAC9F,MAAM,CAAC,MAAM,WAAW,GAAsB;IAC5C,aAAa;IACb,OAAO;IACP,sBAAsB;IACtB,MAAM;IACN,mBAAmB;IACnB,YAAY;IACZ,WAAW;IACX,cAAc;IACd,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,MAAM;IACN,gBAAgB;IAChB,wBAAwB;IACxB,gBAAgB;IAChB,WAAW;IACX,eAAe;IACf,kBAAkB;IAClB,QAAQ;IACR,eAAe;IACf,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,UAAU;IACV,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Aa;IACb,cAAc;IACd,WAAW;IACX,aAAa;IACb,uBAAuB;IACvB,iBAAiB;IACjB,wBAAwB;IACxB,uBAAuB;IACvB,oBAAoB;IACpB,YAAY;IACZ,YAAY;CACb,CAAC"}
|
|
1
|
+
{"version":3,"file":"surface.js","sourceRoot":"","sources":["../../src/generated/surface.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,6EAA6E;AAC7E,iGAAiG;AAEjG,qGAAqG;AACrG,MAAM,CAAC,MAAM,YAAY,GAAsB;IAC7C,MAAM;IACN,SAAS;IACT,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;IACR,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,OAAO;IACP,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACT,KAAK;IACL,UAAU;IACV,QAAQ;IACR,OAAO;IACP,WAAW;IACX,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,eAAe;IACf,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;IACP,UAAU;IACV,SAAS;IACT,SAAS;IACT,QAAQ;IACR,MAAM;IACN,MAAM;IACN,aAAa;IACb,eAAe;IACf,SAAS;IACT,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,MAAM;IACN,MAAM;IACN,SAAS;IACT,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,SAAS;IACT,WAAW;CACZ,CAAC;AAEF,8FAA8F;AAC9F,MAAM,CAAC,MAAM,WAAW,GAAsB;IAC5C,aAAa;IACb,OAAO;IACP,sBAAsB;IACtB,MAAM;IACN,mBAAmB;IACnB,YAAY;IACZ,WAAW;IACX,cAAc;IACd,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,MAAM;IACN,gBAAgB;IA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IAC/B,sCAAsC;IACtC,gCAAgC;IAChC,6BAA6B;IAC7B,+BAA+B;CAChC,CAAC;AAEF,oGAAoG;AACpG,MAAM,CAAC,MAAM,WAAW,GAAsB;IAC5C,gBAAgB;IAChB,aAAa;IACb,aAAa;IACb,cAAc;IACd,WAAW;IACX,aAAa;IACb,uBAAuB;IACvB,iBAAiB;IACjB,wBAAwB;IACxB,uBAAuB;IACvB,oBAAoB;IACpB,YAAY;IACZ,YAAY;CACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-operations-refs.d.ts","sourceRoot":"","sources":["../src/skill-operations-refs.ts"],"names":[],"mappings":"AAUA,wBAAgB,0BAA0B,IAAI,MAAM,CA0CnD;AAMD,wBAAgB,8BAA8B,IAAI,MAAM,CAuGvD;AAMD,wBAAgB,4BAA4B,IAAI,MAAM,CA6BrD;AAMD,wBAAgB,2BAA2B,IAAI,MAAM,CA4BpD;AAMD,wBAAgB,yBAAyB,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"skill-operations-refs.d.ts","sourceRoot":"","sources":["../src/skill-operations-refs.ts"],"names":[],"mappings":"AAUA,wBAAgB,0BAA0B,IAAI,MAAM,CA0CnD;AAMD,wBAAgB,8BAA8B,IAAI,MAAM,CAuGvD;AAMD,wBAAgB,4BAA4B,IAAI,MAAM,CA6BrD;AAMD,wBAAgB,2BAA2B,IAAI,MAAM,CA4BpD;AAMD,wBAAgB,yBAAyB,IAAI,MAAM,CAkElD;AAMD,wBAAgB,qCAAqC,IAAI,MAAM,CA8D9D"}
|
|
@@ -236,6 +236,7 @@ export function renderPublishingReference() {
|
|
|
236
236
|
'',
|
|
237
237
|
'- Shared readiness gate',
|
|
238
238
|
'- Distribution metadata source',
|
|
239
|
+
'- Hosted immutable distribution',
|
|
239
240
|
'- Directory-specific evidence',
|
|
240
241
|
'- Submission boundary',
|
|
241
242
|
'',
|
|
@@ -263,6 +264,22 @@ export function renderPublishingReference() {
|
|
|
263
264
|
'',
|
|
264
265
|
'When an export reports `uploadArtifacts`, treat its output archive as an outer review kit. Extract it, follow the generated instructions, and upload only the named inner artifacts to their matching fields. Never substitute the outer kit for a nested single-purpose upload.',
|
|
265
266
|
'',
|
|
267
|
+
'## Hosted immutable distribution',
|
|
268
|
+
'',
|
|
269
|
+
'Publishing a deployment-bound archive is a hosted mutation. Run it only when the current request explicitly authorizes that exact deployment and target: `noodle distributions publish <deployment-id> [server.ts] --target <target>`. The command compiles local TypeScript and requires its package snapshot to exactly match the selected deployment before it uploads anything. It uses the endpoint and package identity returned by the service; never substitute a local URL or a different deployment.',
|
|
270
|
+
'',
|
|
271
|
+
'Use `noodle distributions list <deployment-id>` to discover immutable versions, `noodle distributions inspect <distribution-id>` to inspect one, and `noodle distributions download <distribution-id> --output <archive.zip>` to retrieve its exact archive. Download verifies the service length and digest before an atomic local write; a failed verification must leave no output file.',
|
|
272
|
+
'',
|
|
273
|
+
'Lifecycle and delivery are separate mutations. Run `readiness`, `review`, `release`, `rollback`, `deprecate`, `revoke`, or `grant` only when the request explicitly authorizes that exact distribution and action. Inspect first when the active state or version is not already known.',
|
|
274
|
+
'',
|
|
275
|
+
'Set readiness from evidence you can verify. Record `review` only from a real human-observed host status; never infer submission, approval, or publication from a generated archive or a successful Noodle command, and never put reviewer credentials or secrets in feedback.',
|
|
276
|
+
'',
|
|
277
|
+
'`release --visibility private` creates or advances a stable Noodle channel without anonymous discovery; `release --visibility public` enables Noodle public delivery only. Both still require the underlying MCP deployment to use exact public access. Neither action publishes to an external directory.',
|
|
278
|
+
'',
|
|
279
|
+
'`grant` returns one short-lived, exact-version bearer URL. Treat the complete URL as a secret, disclose it only to the authorized reviewer, and do not paste it into source, logs, issues, or durable docs. `rollback` moves only the channel pointer to an older ready version; `deprecate` stops delivery and `revoke` is terminal.',
|
|
280
|
+
'',
|
|
281
|
+
'A hosted archive is still a submission candidate. Creating, listing, inspecting, downloading, releasing, or granting it does not submit it to an external directory, satisfy review, or publish a host listing.',
|
|
282
|
+
'',
|
|
266
283
|
'## Directory-specific evidence',
|
|
267
284
|
'',
|
|
268
285
|
'Read the selected directory’s current official submission documentation at review time. Record each additional requirement separately from the shared checklist, including listing fields, identity verification, test credentials, screenshots, policy declarations, review limits, and appeal or resubmission steps. Never project one directory’s requirements onto another.',
|