openmeld 0.3.242 → 0.3.244
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/{add-me-membership-JGpmeWkk.js → add-me-membership-CWS97GK8.js} +2 -2
- package/dist/{add-me-membership-JGpmeWkk.js.map → add-me-membership-CWS97GK8.js.map} +1 -1
- package/dist/{agents-4ldZFtzT.js → agents-BoapsuRq.js} +11 -10
- package/dist/{agents-4ldZFtzT.js.map → agents-BoapsuRq.js.map} +1 -1
- package/dist/{api-client-foundation-Dbc5MXyW.js → api-client-foundation-BYTxVhem.js} +3 -3
- package/dist/{api-client-foundation-Dbc5MXyW.js.map → api-client-foundation-BYTxVhem.js.map} +1 -1
- package/dist/{api-client-foundation-uYxH6diU.js → api-client-foundation-DDdQCc2T.js} +1 -1
- package/dist/{auth-session-Injt39gv.js → auth-session-CpKxiYC2.js} +2 -2
- package/dist/{auth-session-Injt39gv.js.map → auth-session-CpKxiYC2.js.map} +1 -1
- package/dist/auth-session-EhHX7q2K.js +4 -0
- package/dist/{channel-CxgYezuw.js → channel-BXovlRXN.js} +4 -4
- package/dist/{channel-CxgYezuw.js.map → channel-BXovlRXN.js.map} +1 -1
- package/dist/cloud-computer-D2VuZov1.js +21 -0
- package/dist/cloud-computer-D2VuZov1.js.map +1 -0
- package/dist/{command-D1poZMYq.js → command-BZvpjGWe.js} +19 -19
- package/dist/{command-D1poZMYq.js.map → command-BZvpjGWe.js.map} +1 -1
- package/dist/{computer-connection-CSa8O0op.js → computer-connection-Cd5R-jnA.js} +2 -2
- package/dist/{computer-connection-CSa8O0op.js.map → computer-connection-Cd5R-jnA.js.map} +1 -1
- package/dist/{computer-connection-review-DlPe08AU.js → computer-connection-review-lBDHLC0c.js} +5 -5
- package/dist/{computer-connection-review-DlPe08AU.js.map → computer-connection-review-lBDHLC0c.js.map} +1 -1
- package/dist/{computer-disconnect-C6xJfCMA.js → computer-disconnect-C6OH3940.js} +8 -8
- package/dist/{computer-disconnect-C6xJfCMA.js.map → computer-disconnect-C6OH3940.js.map} +1 -1
- package/dist/{computer-setup-continuation-fbbvdA8o.js → computer-setup-continuation-BsSM1pzW.js} +3 -3
- package/dist/{computer-setup-continuation-fbbvdA8o.js.map → computer-setup-continuation-BsSM1pzW.js.map} +1 -1
- package/dist/{daemon-device-id-CAKHWLK9.js → context-BbodhIFX.js} +7 -279
- package/dist/context-BbodhIFX.js.map +1 -0
- package/dist/{control-plane-QqGL-jtT.js → control-plane-TOfZ-veG.js} +2 -2
- package/dist/{control-plane-QqGL-jtT.js.map → control-plane-TOfZ-veG.js.map} +1 -1
- package/dist/daemon-device-id-DwMFWGI5.js +284 -0
- package/dist/daemon-device-id-DwMFWGI5.js.map +1 -0
- package/dist/{daemon-lifecycle-journal-eiHCp4B7.js → daemon-lifecycle-journal-NJaimyPD.js} +3 -3
- package/dist/{daemon-lifecycle-journal-eiHCp4B7.js.map → daemon-lifecycle-journal-NJaimyPD.js.map} +1 -1
- package/dist/{daemon-service-manager-C_ny0JhB.js → daemon-service-manager-DAEJlYsV.js} +1 -1
- package/dist/{daemon-service-manager-BXAp21GH.js → daemon-service-manager-SXQcFE9c.js} +2 -2
- package/dist/{daemon-service-manager-BXAp21GH.js.map → daemon-service-manager-SXQcFE9c.js.map} +1 -1
- package/dist/{daemon-service-runtime-zCpuDvfl.js → daemon-service-runtime-COC1JtWX.js} +5 -5
- package/dist/{daemon-service-runtime-zCpuDvfl.js.map → daemon-service-runtime-COC1JtWX.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-Q5ihbImP.js → daemon-service-update-coordinator-BmZHGGiO.js} +14 -13
- package/dist/{daemon-service-update-coordinator-Q5ihbImP.js.map → daemon-service-update-coordinator-BmZHGGiO.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-B6HXvHVa.js → dispatch-owned-runtime-dLHDTL7f.js} +9 -8
- package/dist/{dispatch-owned-runtime-B6HXvHVa.js.map → dispatch-owned-runtime-dLHDTL7f.js.map} +1 -1
- package/dist/dist-BDix0nxy.js +4 -0
- package/dist/{dist-BE0dKSoc.js → dist-Cu_yzOuS.js} +325 -191
- package/dist/dist-Cu_yzOuS.js.map +1 -0
- package/dist/{dual-view-guide-catalog-Cf9dxh8-.js → dual-view-guide-catalog-8Pr5QO_z.js} +4 -4
- package/dist/{dual-view-guide-catalog-Cf9dxh8-.js.map → dual-view-guide-catalog-8Pr5QO_z.js.map} +1 -1
- package/dist/{elapsed-time-ZiuFKVLD.js → elapsed-time-DCufUrLA.js} +3 -3
- package/dist/{elapsed-time-ZiuFKVLD.js.map → elapsed-time-DCufUrLA.js.map} +1 -1
- package/dist/{entry-B3OCEi01.js → entry-CJ289WR7.js} +8 -7
- package/dist/{entry-B3OCEi01.js.map → entry-CJ289WR7.js.map} +1 -1
- package/dist/{installation-inventory-CRS2_ZJi.js → installation-inventory-dvcGmUBg.js} +3 -3
- package/dist/{installation-inventory-CRS2_ZJi.js.map → installation-inventory-dvcGmUBg.js.map} +1 -1
- package/dist/{installer-9RCKL6Dh.js → installer-D0fh4fzg.js} +2 -2
- package/dist/{installer-9RCKL6Dh.js.map → installer-D0fh4fzg.js.map} +1 -1
- package/dist/{meta-api-BBfF-3ln.js → meta-api-BdH7IJMv.js} +5 -5
- package/dist/{meta-api-BBfF-3ln.js.map → meta-api-BdH7IJMv.js.map} +1 -1
- package/dist/{openmeld-CAlNOxmA.js → openmeld-DQPDws0E.js} +55 -33
- package/dist/openmeld-DQPDws0E.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DR32kAsg.js → openmeld-maintenance-worker-ALfbSMyQ.js} +10 -10
- package/dist/{openmeld-maintenance-worker-DR32kAsg.js.map → openmeld-maintenance-worker-ALfbSMyQ.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-DWRJ6WpO.js → openmeld-tools-update-join-Cezc7ARc.js} +4 -4
- package/dist/{openmeld-tools-update-join-DWRJ6WpO.js.map → openmeld-tools-update-join-Cezc7ARc.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-CpG_NTZF.js → prepare-provider-runtime-Cko0dLXN.js} +11 -10
- package/dist/{prepare-provider-runtime-CpG_NTZF.js.map → prepare-provider-runtime-Cko0dLXN.js.map} +1 -1
- package/dist/{prepare-session-executor-ByEiJyxT.js → prepare-session-executor-B-TWlSSd.js} +22 -22
- package/dist/{prepare-session-executor-ByEiJyxT.js.map → prepare-session-executor-B-TWlSSd.js.map} +1 -1
- package/dist/{process-channel-Ceb-ha2V.js → process-channel-z_4u04-k.js} +2 -2
- package/dist/{process-channel-Ceb-ha2V.js.map → process-channel-z_4u04-k.js.map} +1 -1
- package/dist/{runtime-DMHRemwP.js → runtime-C6SS6jm6.js} +17 -17
- package/dist/{runtime-DMHRemwP.js.map → runtime-C6SS6jm6.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-D51t3Q8e.js → runtime-agent-controller-reporting-submission-Cyb5OuVp.js} +8 -8
- package/dist/{runtime-agent-controller-reporting-submission-D51t3Q8e.js.map → runtime-agent-controller-reporting-submission-Cyb5OuVp.js.map} +1 -1
- package/dist/{runtime-transport-BPK70mkB.js → runtime-transport-DYbpUYBL.js} +3669 -3669
- package/dist/runtime-transport-DYbpUYBL.js.map +1 -0
- package/dist/{service-BhwxCPsM.js → service-DjqXdt6p.js} +25 -24
- package/dist/{service-BhwxCPsM.js.map → service-DjqXdt6p.js.map} +1 -1
- package/dist/{service-account-authorization-C6wZHidB.js → service-account-authorization-BZFLy1E7.js} +2 -2
- package/dist/{service-account-authorization-C6wZHidB.js.map → service-account-authorization-BZFLy1E7.js.map} +1 -1
- package/dist/{service-account-control-D_hTHF4w.js → service-account-control-CsXtCjRi.js} +10 -9
- package/dist/{service-account-control-D_hTHF4w.js.map → service-account-control-CsXtCjRi.js.map} +1 -1
- package/dist/{service-control-capabilities-CfKNg0x2.js → service-control-capabilities-C4SOrFHN.js} +1 -1
- package/dist/{service-control-capabilities-VYS3-qJC.js → service-control-capabilities-Ck-KcBXg.js} +4 -4
- package/dist/{service-control-capabilities-VYS3-qJC.js.map → service-control-capabilities-Ck-KcBXg.js.map} +1 -1
- package/dist/{state-Bef17OTn.js → state-BmiyrHe4.js} +2 -2
- package/dist/{state-Bef17OTn.js.map → state-BmiyrHe4.js.map} +1 -1
- package/dist/{updates-api-Cot1YmlU.js → updates-api-DD3p5dx5.js} +13 -12
- package/dist/{updates-api-Cot1YmlU.js.map → updates-api-DD3p5dx5.js.map} +1 -1
- package/dist/upgrade-3z755G8g.js +4 -0
- package/dist/{upgrade-9xk3iYag.js → upgrade-DIt6nkyo.js} +9 -9
- package/dist/{upgrade-9xk3iYag.js.map → upgrade-DIt6nkyo.js.map} +1 -1
- package/package.json +12 -12
- package/skills/openmeld-cli/SKILL.md +20 -0
- package/dist/auth-session-j1EhJkpg2.js +0 -4
- package/dist/daemon-device-id-CAKHWLK9.js.map +0 -1
- package/dist/dist-BE0dKSoc.js.map +0 -1
- package/dist/dist-D4nEGVsQ.js +0 -4
- package/dist/openmeld-CAlNOxmA.js.map +0 -1
- package/dist/runtime-transport-BPK70mkB.js.map +0 -1
- package/dist/upgrade-CGcMw4vC.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { at as prepareSessionSnapshotSchema, mt as computerConnectionProgressPhaseSchema, pt as computerConnectionProgressObservationSchema, rt as createPrepareSessionRequestSchema } from "./auth-session-
|
|
3
|
+
import { at as prepareSessionSnapshotSchema, mt as computerConnectionProgressPhaseSchema, pt as computerConnectionProgressObservationSchema, rt as createPrepareSessionRequestSchema } from "./auth-session-CpKxiYC2.js";
|
|
4
4
|
import * as z$1 from "zod/v4";
|
|
5
5
|
//#region ../../packages/schemas/dist/computer-connection.js
|
|
6
6
|
const computerConnectionIntentSchema = z$1.strictObject({
|
|
@@ -117,4 +117,4 @@ z$1.union([desktopComputerConnectionOperationSchema, desktopComputerDisconnectOp
|
|
|
117
117
|
//#endregion
|
|
118
118
|
export { computerConnectionReviewSchema as n, computerConnectionIntentSchema as t };
|
|
119
119
|
|
|
120
|
-
//# sourceMappingURL=computer-connection-
|
|
120
|
+
//# sourceMappingURL=computer-connection-Cd5R-jnA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-connection-
|
|
1
|
+
{"version":3,"file":"computer-connection-Cd5R-jnA.js","names":[],"sources":["../../../packages/schemas/dist/computer-connection.js"],"sourcesContent":["import { computerConnectionProgressObservationSchema, computerConnectionProgressPhaseSchema } from \"./computer-connection-progress.js\";\nimport { createPrepareSessionRequestSchema, prepareSessionSnapshotSchema } from \"./schemas/prepare/session.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/computer-connection.ts\nconst computerConnectionIntentSchema = z$1.strictObject({\n\texpectedAccount: z$1.string().trim().min(1).max(256),\n\tpreviousSessionIdentity: z$1.string().min(1).max(128)\n});\nconst computerSetupVerboseOutputSchema = z$1.object({\n\ttype: z$1.string(),\n\tcode: z$1.string().min(1).max(256),\n\ttext: z$1.string().optional(),\n\tmessage: z$1.string().optional(),\n\tdata: z$1.object({\n\t\tstate: z$1.string().optional(),\n\t\tphase: computerConnectionProgressPhaseSchema.optional()\n\t}).optional()\n});\nconst computerSetupOutputSchema = z$1.union([computerSetupVerboseOutputSchema, z$1.object({\n\tt: z$1.string(),\n\tc: z$1.string().min(1).max(256),\n\tx: z$1.string().optional(),\n\tm: z$1.string().optional(),\n\td: computerSetupVerboseOutputSchema.shape.data\n}).transform((event) => ({\n\ttype: event.t,\n\tcode: event.c,\n\ttext: event.x,\n\tmessage: event.m,\n\tdata: event.d\n}))]);\nconst desktopComputerConnectionProgressSchema = computerConnectionProgressObservationSchema.extend({ expectedAccount: computerConnectionIntentSchema.shape.expectedAccount });\nconst computerConnectionReviewSchema = z$1.strictObject({\n\tprotocol: z$1.literal(\"computer-connection-v1\"),\n\tpreviousSessionIdentity: z$1.string().min(1).max(128),\n\taccount: z$1.strictObject({\n\t\tid: z$1.string().min(1).max(256),\n\t\temail: z$1.string().max(512).nullable()\n\t}).nullable(),\n\texistingConnection: z$1.strictObject({\n\t\tdeviceId: z$1.string().min(1),\n\t\truntimeLane: z$1.enum([\n\t\t\t\"prod\",\n\t\t\t\"dev-local\",\n\t\t\t\"canary\"\n\t\t])\n\t}).nullable()\n});\nconst desktopComputerDisconnectRequestSchema = z$1.strictObject({\n\texpectedAccount: computerConnectionIntentSchema.shape.expectedAccount,\n\texpectedConnection: computerConnectionReviewSchema.shape.existingConnection.unwrap().optional()\n});\nconst desktopComputerConnectionRequestSchema = createPrepareSessionRequestSchema.pick({\n\thumanProfileId: true,\n\ttargetSpaceId: true,\n\tsourceNavigationAction: true,\n\tconnectedComputerId: true\n}).extend({\n\texpectedAccount: computerConnectionIntentSchema.shape.expectedAccount,\n\tresetThisComputer: z$1.boolean().optional()\n});\nconst desktopComputerConnectionResultSchema = z$1.discriminatedUnion(\"status\", [\n\tz$1.strictObject({\n\t\tstatus: z$1.literal(\"failed\"),\n\t\tmessage: z$1.string().min(1),\n\t\tdiagnosticId: z$1.string().min(1),\n\t\tdiagnosticsPath: z$1.string().min(1).optional()\n\t}),\n\tz$1.strictObject({\n\t\tstatus: z$1.literal(\"reused\"),\n\t\tconnection: computerConnectionReviewSchema.shape.existingConnection.unwrap()\n\t}),\n\tz$1.strictObject({\n\t\tstatus: z$1.literal(\"completed\"),\n\t\tsnapshot: prepareSessionSnapshotSchema\n\t}),\n\tz$1.strictObject({ status: z$1.literal(\"cancelled\") })\n]);\nconst desktopComputerConnectionOperationSchema = z$1.strictObject({\n\toperationId: z$1.string().min(1).max(128),\n\trequest: desktopComputerConnectionRequestSchema,\n\tstatus: z$1.enum([\"pending\", \"settled\"]),\n\tprogress: desktopComputerConnectionProgressSchema.nullable(),\n\tresult: desktopComputerConnectionResultSchema.nullable(),\n\terrorMessage: z$1.string().min(1).max(4096).nullable()\n});\nconst desktopComputerDisconnectPhaseSchema = z$1.enum([\n\t\"checking\",\n\t\"waiting_for_confirmation\",\n\t\"disconnecting\"\n]);\nconst desktopComputerDisconnectResultSchema = z$1.union([\n\tz$1.strictObject({ status: z$1.literal(\"disconnected\") }),\n\tz$1.strictObject({ status: z$1.literal(\"cancelled\") }),\n\tz$1.strictObject({\n\t\tstatus: z$1.enum([\n\t\t\t\"connection_changed\",\n\t\t\t\"failed\",\n\t\t\t\"unconfirmed\"\n\t\t]),\n\t\tcode: z$1.string().min(1).max(256),\n\t\tmessage: z$1.string().min(1).max(4096),\n\t\tdiagnosticId: z$1.string().min(1).max(128).optional(),\n\t\tdiagnosticsPath: z$1.string().min(1).max(4096).optional()\n\t})\n]);\nconst desktopComputerDisconnectOperationSchema = z$1.strictObject({\n\tkind: z$1.literal(\"disconnect\"),\n\toperationId: desktopComputerConnectionOperationSchema.shape.operationId,\n\trequest: desktopComputerDisconnectRequestSchema,\n\tstatus: z$1.enum([\"pending\", \"settled\"]),\n\tphase: desktopComputerDisconnectPhaseSchema,\n\tresult: desktopComputerDisconnectResultSchema.nullable()\n});\nconst desktopComputerOperationSchema = z$1.union([desktopComputerConnectionOperationSchema, desktopComputerDisconnectOperationSchema]);\n//#endregion\nexport { computerConnectionIntentSchema, computerConnectionReviewSchema, computerSetupOutputSchema, desktopComputerConnectionOperationSchema, desktopComputerConnectionProgressSchema, desktopComputerConnectionRequestSchema, desktopComputerConnectionResultSchema, desktopComputerDisconnectOperationSchema, desktopComputerDisconnectPhaseSchema, desktopComputerDisconnectRequestSchema, desktopComputerDisconnectResultSchema, desktopComputerOperationSchema };\n\n//# sourceMappingURL=computer-connection.js.map"],"mappings":"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"}
|
package/dist/{computer-connection-review-DlPe08AU.js → computer-connection-review-lBDHLC0c.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { d as getAuthSessionState, o as buildStoredAuthSessionIdentity, u as getAuthSessionMetadata } from "./auth-session-
|
|
4
|
-
import { n as computerConnectionReviewSchema } from "./computer-connection-
|
|
3
|
+
import { d as getAuthSessionState, o as buildStoredAuthSessionIdentity, u as getAuthSessionMetadata } from "./auth-session-CpKxiYC2.js";
|
|
4
|
+
import { n as computerConnectionReviewSchema } from "./computer-connection-Cd5R-jnA.js";
|
|
5
5
|
import { i as readDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
|
|
6
|
-
import { n as resolveServiceAccountIdentity } from "./service-account-authorization-
|
|
7
|
-
import { t as readServiceControlCapabilities } from "./service-control-capabilities-
|
|
6
|
+
import { n as resolveServiceAccountIdentity } from "./service-account-authorization-BZFLy1E7.js";
|
|
7
|
+
import { t as readServiceControlCapabilities } from "./service-control-capabilities-Ck-KcBXg.js";
|
|
8
8
|
//#region src/commands/computer-connection-review.ts
|
|
9
9
|
/** Display evidence only. Auth and Service owners validate an existing connection. */
|
|
10
10
|
async function readComputerConnectionReview() {
|
|
@@ -36,4 +36,4 @@ async function readComputerConnectionReview() {
|
|
|
36
36
|
//#endregion
|
|
37
37
|
export { readComputerConnectionReview };
|
|
38
38
|
|
|
39
|
-
//# sourceMappingURL=computer-connection-review-
|
|
39
|
+
//# sourceMappingURL=computer-connection-review-lBDHLC0c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-connection-review-
|
|
1
|
+
{"version":3,"file":"computer-connection-review-lBDHLC0c.js","names":[],"sources":["../src/commands/computer-connection-review.ts"],"sourcesContent":["import { computerConnectionReviewSchema } from \"@openmeld/schemas\";\nimport {\n buildStoredAuthSessionIdentity,\n getAuthSessionMetadata,\n getAuthSessionState,\n} from \"../config/auth-session\";\nimport { readDaemonServiceContract } from \"../config/daemon-service-contract\";\nimport { resolveServiceAccountIdentity } from \"../local-service/lifecycle/service-account-authorization\";\nimport { readServiceControlCapabilities } from \"./service-control-capabilities\";\n\n/** Display evidence only. Auth and Service owners validate an existing connection. */\nexport async function readComputerConnectionReview() {\n const session = await getAuthSessionMetadata();\n if (session && !session.user?.id) {\n throw new Error(\n \"The computer account cannot be identified. Review its sign-in before connecting.\"\n );\n }\n let existingConnection: ReturnType<\n typeof computerConnectionReviewSchema.parse\n >[\"existingConnection\"] = null;\n const contract = await readDaemonServiceContract();\n if (session && contract && contract.ownerUserId === session.user?.id) {\n const auth = await getAuthSessionState({ validateRemote: true });\n if (auth.state === \"valid\" && auth.session) {\n const identity = await resolveServiceAccountIdentity(\n auth.session,\n contract\n );\n const capabilities = await readServiceControlCapabilities();\n if (capabilities.stop && capabilities.deviceId === identity.deviceId) {\n existingConnection = {\n deviceId: identity.deviceId,\n runtimeLane: identity.lane,\n };\n }\n }\n }\n return computerConnectionReviewSchema.parse({\n protocol: \"computer-connection-v1\",\n previousSessionIdentity: buildStoredAuthSessionIdentity(session),\n account: session\n ? { id: session.user?.id, email: session.user?.email ?? null }\n : null,\n existingConnection,\n });\n}\n"],"mappings":";;;;;;;;;AAWA,eAAsB,+BAA+B;CACnD,MAAM,UAAU,MAAM,uBAAuB;CAC7C,IAAI,WAAW,CAAC,QAAQ,MAAM,IAC5B,MAAM,IAAI,MACR,kFACF;CAEF,IAAI,qBAEsB;CAC1B,MAAM,WAAW,MAAM,0BAA0B;CACjD,IAAI,WAAW,YAAY,SAAS,gBAAgB,QAAQ,MAAM,IAAI;EACpE,MAAM,OAAO,MAAM,oBAAoB,EAAE,gBAAgB,KAAK,CAAC;EAC/D,IAAI,KAAK,UAAU,WAAW,KAAK,SAAS;GAC1C,MAAM,WAAW,MAAM,8BACrB,KAAK,SACL,QACF;GACA,MAAM,eAAe,MAAM,+BAA+B;GAC1D,IAAI,aAAa,QAAQ,aAAa,aAAa,SAAS,UAC1D,qBAAqB;IACnB,UAAU,SAAS;IACnB,aAAa,SAAS;GACxB;EAEJ;CACF;CACA,OAAO,+BAA+B,MAAM;EAC1C,UAAU;EACV,yBAAyB,+BAA+B,OAAO;EAC/D,SAAS,UACL;GAAE,IAAI,QAAQ,MAAM;GAAI,OAAO,QAAQ,MAAM,SAAS;EAAK,IAC3D;EACJ;CACF,CAAC;AACH"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { l as getAuthSession, o as buildStoredAuthSessionIdentity, s as clearAuthSession, u as getAuthSessionMetadata } from "./auth-session-
|
|
4
|
-
import { t as computerConnectionIntentSchema } from "./computer-connection-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { l as getAuthSession, o as buildStoredAuthSessionIdentity, s as clearAuthSession, u as getAuthSessionMetadata } from "./auth-session-CpKxiYC2.js";
|
|
4
|
+
import { t as computerConnectionIntentSchema } from "./computer-connection-Cd5R-jnA.js";
|
|
5
|
+
import { r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-COC1JtWX.js";
|
|
6
|
+
import { n as resolveRuntimeContext } from "./context-BbodhIFX.js";
|
|
7
7
|
import { K as withDaemonServiceRunLock } from "./daemon-state-Dte9re5V.js";
|
|
8
|
-
import { i as readDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
|
|
9
|
-
import { n as resolveServiceAccountIdentity } from "./service-account-authorization-C6wZHidB.js";
|
|
10
8
|
import { t as createPresenter } from "./presenter-BcxiQyJg.js";
|
|
11
|
-
import {
|
|
9
|
+
import { i as readDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
|
|
10
|
+
import { n as resolveServiceAccountIdentity } from "./service-account-authorization-BZFLy1E7.js";
|
|
11
|
+
import { t as runServiceAccountControl } from "./service-account-control-CsXtCjRi.js";
|
|
12
12
|
//#region src/commands/computer-disconnect.ts
|
|
13
13
|
async function runComputerDisconnect(request, view) {
|
|
14
14
|
const presenter = createPresenter(await resolveRuntimeContext({ view }));
|
|
@@ -45,4 +45,4 @@ async function disconnectComputer(request) {
|
|
|
45
45
|
//#endregion
|
|
46
46
|
export { runComputerDisconnect };
|
|
47
47
|
|
|
48
|
-
//# sourceMappingURL=computer-disconnect-
|
|
48
|
+
//# sourceMappingURL=computer-disconnect-C6OH3940.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-disconnect-
|
|
1
|
+
{"version":3,"file":"computer-disconnect-C6OH3940.js","names":[],"sources":["../src/commands/computer-disconnect.ts"],"sourcesContent":["import {\n type ComputerConnectionIntent,\n computerConnectionIntentSchema,\n} from \"@openmeld/schemas\";\nimport {\n buildStoredAuthSessionIdentity,\n clearAuthSession,\n getAuthSession,\n getAuthSessionMetadata,\n} from \"../config/auth-session\";\nimport { readDaemonServiceContract } from \"../config/daemon-service-contract\";\nimport { withDaemonServiceRunLock } from \"../config/daemon-state\";\nimport { readCurrentDaemonRuntimeContext } from \"../local-service/lifecycle/daemon-service-runtime\";\nimport { resolveServiceAccountIdentity } from \"../local-service/lifecycle/service-account-authorization\";\nimport { resolveRuntimeContext } from \"../runtime/context\";\nimport { createPresenter } from \"../runtime/presenter/index\";\nimport { runServiceAccountControl } from \"./service-account-control\";\n\nexport async function runComputerDisconnect(\n request: ComputerConnectionIntent,\n view?: string\n) {\n const presenter = createPresenter(await resolveRuntimeContext({ view }));\n presenter.line({\n code: \"computer.disconnect.started\",\n text: \"Stopping OpenMeld Service…\",\n data: { state: \"started\" },\n });\n await disconnectComputer(request);\n presenter.line({\n code: \"computer.disconnected\",\n text: \"This computer is disconnected. Its record is still in your account.\",\n });\n}\n\n// Disconnect ends this Mac's local account connection. Forget remains the\n// separate cloud operation that removes the account's Computer record.\nexport async function disconnectComputer(\n request: ComputerConnectionIntent\n): Promise<void> {\n const intent = computerConnectionIntentSchema.parse(request);\n const session = await getAuthSessionMetadata();\n if (\n !session ||\n session.user?.id !== intent.expectedAccount ||\n buildStoredAuthSessionIdentity(session) !== intent.previousSessionIdentity\n ) {\n throw new Error(\n \"The computer sign-in changed. Review its connection before disconnecting.\"\n );\n }\n // The existing admission owner rechecks account, process and generation,\n // drains active work, and disables automatic startup. Never use an unscoped Stop.\n await withDaemonServiceRunLock(async () => {\n const contract = await readDaemonServiceContract();\n const runtime = await readCurrentDaemonRuntimeContext();\n if (contract?.desiredState === \"stopped\") {\n const current = await getAuthSession();\n if (!current) {\n throw new Error(\"Review this computer's sign-in before disconnecting.\");\n }\n await resolveServiceAccountIdentity(current, contract);\n }\n // A retry may follow an acknowledged Stop and a failed credential cleanup.\n // Only the owner's explicit stopped intent can skip another Stop.\n if (\n !(\n contract?.ownerUserId === intent.expectedAccount &&\n contract.desiredState === \"stopped\" &&\n runtime.effectiveRuntimeStatus === \"not_running\"\n )\n ) {\n await runServiceAccountControl(\n {\n operation: \"stop\",\n expectedAccount: intent.expectedAccount,\n },\n intent.previousSessionIdentity\n );\n }\n // Hold the existing lifecycle lock through cleanup so Start cannot race it.\n // A concurrent sign-in after Stop must never be cleared by this operation.\n await clearAuthSession(session);\n });\n}\n"],"mappings":";;;;;;;;;;;;AAkBA,eAAsB,sBACpB,SACA,MACA;CACA,MAAM,YAAY,gBAAgB,MAAM,sBAAsB,EAAE,KAAK,CAAC,CAAC;CACvE,UAAU,KAAK;EACb,MAAM;EACN,MAAM;EACN,MAAM,EAAE,OAAO,UAAU;CAC3B,CAAC;CACD,MAAM,mBAAmB,OAAO;CAChC,UAAU,KAAK;EACb,MAAM;EACN,MAAM;CACR,CAAC;AACH;AAIA,eAAsB,mBACpB,SACe;CACf,MAAM,SAAS,+BAA+B,MAAM,OAAO;CAC3D,MAAM,UAAU,MAAM,uBAAuB;CAC7C,IACE,CAAC,WACD,QAAQ,MAAM,OAAO,OAAO,mBAC5B,+BAA+B,OAAO,MAAM,OAAO,yBAEnD,MAAM,IAAI,MACR,2EACF;CAIF,MAAM,yBAAyB,YAAY;EACzC,MAAM,WAAW,MAAM,0BAA0B;EACjD,MAAM,UAAU,MAAM,gCAAgC;EACtD,IAAI,UAAU,iBAAiB,WAAW;GACxC,MAAM,UAAU,MAAM,eAAe;GACrC,IAAI,CAAC,SACH,MAAM,IAAI,MAAM,sDAAsD;GAExE,MAAM,8BAA8B,SAAS,QAAQ;EACvD;EAGA,IACE,EACE,UAAU,gBAAgB,OAAO,mBACjC,SAAS,iBAAiB,aAC1B,QAAQ,2BAA2B,gBAGrC,MAAM,yBACJ;GACE,WAAW;GACX,iBAAiB,OAAO;EAC1B,GACA,OAAO,uBACT;EAIF,MAAM,iBAAiB,OAAO;CAChC,CAAC;AACH"}
|
package/dist/{computer-setup-continuation-fbbvdA8o.js → computer-setup-continuation-BsSM1pzW.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { m as hasPendingComputerSetupContinuation, x as resumeInterruptedComputerSetup } from "./auth-session-
|
|
3
|
+
import { m as hasPendingComputerSetupContinuation, x as resumeInterruptedComputerSetup } from "./auth-session-CpKxiYC2.js";
|
|
4
4
|
import { t as createPresenter } from "./presenter-BcxiQyJg.js";
|
|
5
|
-
import { A as mintPrepareSessionReconnectToken, D as recoverInterruptedComputerAuthHandoff, i as runPrepareSessionExecutor } from "./prepare-session-executor-
|
|
5
|
+
import { A as mintPrepareSessionReconnectToken, D as recoverInterruptedComputerAuthHandoff, i as runPrepareSessionExecutor } from "./prepare-session-executor-B-TWlSSd.js";
|
|
6
6
|
import { setTimeout } from "node:timers/promises";
|
|
7
7
|
//#region src/commands/computer-setup-continuation.ts
|
|
8
8
|
const runtime = {
|
|
@@ -39,4 +39,4 @@ async function recoverComputerSetupAfterBackgroundUpdate() {
|
|
|
39
39
|
//#endregion
|
|
40
40
|
export { finishComputerSetupAfterBackgroundUpdate, recoverComputerSetupAfterBackgroundUpdate };
|
|
41
41
|
|
|
42
|
-
//# sourceMappingURL=computer-setup-continuation-
|
|
42
|
+
//# sourceMappingURL=computer-setup-continuation-BsSM1pzW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-setup-continuation-
|
|
1
|
+
{"version":3,"file":"computer-setup-continuation-BsSM1pzW.js","names":["sleep"],"sources":["../src/commands/computer-setup-continuation.ts"],"sourcesContent":["import { setTimeout as sleep } from \"node:timers/promises\";\nimport {\n hasPendingComputerSetupContinuation,\n resumeInterruptedComputerSetup,\n} from \"../config/auth-session\";\nimport { mintPrepareSessionReconnectToken } from \"../config/prepare-session-api\";\nimport { createPresenter } from \"../runtime/presenter/index\";\nimport type { RuntimeContext } from \"../runtime/types\";\nimport { recoverInterruptedComputerAuthHandoff } from \"./computer-auth-handoff-recovery\";\nimport { runPrepareSessionExecutor } from \"./prepare-session-executor\";\n\nconst runtime: RuntimeContext = {\n interactive: false,\n resolvedView: \"agent\",\n viewMode: \"agent\",\n};\n\n// Called only by the existing OS-owned maintenance worker after its update.\n// The live Terminal keeps ownership. If it exits, continue the same Core\n// Prepare session using the existing auth journal, not a second setup plan.\nexport async function finishComputerSetupAfterBackgroundUpdate(): Promise<void> {\n while (await hasPendingComputerSetupContinuation()) {\n const resumed = await resumeInterruptedComputerSetup(\n async (continuation) => {\n const { snapshot, opaqueToken } =\n await mintPrepareSessionReconnectToken({\n baseUrl: continuation.gatewayUrl,\n prepareSessionId: continuation.prepareSessionId,\n });\n if (\n snapshot.lifecycleStatus !== \"active\" &&\n snapshot.lifecycleStatus !== \"completed\"\n ) {\n return \"not_completed\";\n }\n const result = await runPrepareSessionExecutor({\n gatewayUrl: continuation.gatewayUrl,\n initialSnapshot: snapshot,\n interactive: false,\n localAgentSelection: continuation.localAgentSelection,\n presenter: createPresenter(runtime),\n runtime,\n startSession: opaqueToken,\n view: \"agent\",\n });\n return result.status;\n }\n );\n if (!resumed) {\n await sleep(500);\n }\n }\n}\n\n// Run after the completed update has released its pending job. Account rollback\n// uses the existing handoff recovery, which itself waits for active updates.\nexport async function recoverComputerSetupAfterBackgroundUpdate(): Promise<void> {\n await recoverInterruptedComputerAuthHandoff({\n presenter: createPresenter(runtime),\n runtime,\n view: \"agent\",\n });\n}\n"],"mappings":";;;;;;;AAWA,MAAM,UAA0B;CAC9B,aAAa;CACb,cAAc;CACd,UAAU;AACZ;AAKA,eAAsB,2CAA0D;CAC9E,OAAO,MAAM,oCAAoC,GA2B/C,IAAI,CAAC,MA1BiB,+BACpB,OAAO,iBAAiB;EACtB,MAAM,EAAE,UAAU,gBAChB,MAAM,iCAAiC;GACrC,SAAS,aAAa;GACtB,kBAAkB,aAAa;EACjC,CAAC;EACH,IACE,SAAS,oBAAoB,YAC7B,SAAS,oBAAoB,aAE7B,OAAO;EAYT,QAAO,MAVc,0BAA0B;GAC7C,YAAY,aAAa;GACzB,iBAAiB;GACjB,aAAa;GACb,qBAAqB,aAAa;GAClC,WAAW,gBAAgB,OAAO;GAClC;GACA,cAAc;GACd,MAAM;EACR,CAAC,EAAA,CACa;CAChB,CACF,GAEE,MAAMA,WAAM,GAAG;AAGrB;AAIA,eAAsB,4CAA2D;CAC/E,MAAM,sCAAsC;EAC1C,WAAW,gBAAgB,OAAO;EAClC;EACA,MAAM;CACR,CAAC;AACH"}
|
|
@@ -1,103 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { D as openMeldRootDir, R as runtimeDir,
|
|
3
|
+
import { D as openMeldRootDir, R as runtimeDir, b as normalizeOpenMeldProfileId, i as accountProfileViewPath, t as OPENMELD_HOME_ENV_KEY, y as normalizeAccountKey } from "./paths-De9xdA2h.js";
|
|
4
4
|
import { t as isLoopbackHostname } from "./loopback-hostname-DHQPKq8N.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as runtimeAgentControllerConversationIdMappingSpecSchema, o as runtimeStreamingModeSchema, r as runtimeAgentControllerLaunchContractSchema, s as runtimeTransportModeSchema, u as conversationPolicySchema } from "./controller-contract-DAOCaefz.js";
|
|
8
|
-
import { $ as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, F as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, I as DAEMON_RUNTIME_CONTRACT_EPOCH$1, K as MIN_HEARTBEAT_INTERVAL_MS$1, L as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, P as CATALOG_SYNC_RETRY_INTERVAL_MS$1, R as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, U as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, V as DEFAULT_HEARTBEAT_INTERVAL_MS$1, W as MAX_HEARTBEAT_INTERVAL_MS$1, X as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, Y as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, Z as REGISTER_RESPONSE_TIMEOUT_MS$1, d as getAuthSessionState, et as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, tt as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, z as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1 } from "./auth-session-Injt39gv.js";
|
|
9
|
-
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
10
|
-
import { n as agentControllerPermissionModeSchema, r as agentControllerCollaborationModeSchema, t as openCodePermissionConfigSchema } from "./open-code-permission-DHFJYc_o.js";
|
|
5
|
+
import { Gr as profileErrorResponseSchema, Hr as authProfileManagedRoleSchema, Lr as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, Rr as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, Ui as openMeldProfileIdSchema, Wr as profileCapabilitiesResponseSchema } from "./runtime-transport-DYbpUYBL.js";
|
|
6
|
+
import { d as getAuthSessionState } from "./auth-session-CpKxiYC2.js";
|
|
11
7
|
import { _ as resolveCliContext, g as readCliContextState, h as listCliContextStates, y as writeCliContextState } from "./lock-BMI00i2F.js";
|
|
12
8
|
import { _ as getConfiguredViewCustomization } from "./base-url-0AoeTi3w.js";
|
|
13
|
-
import { h as daemonRuntimeRootPath, m as daemonRuntimeDataPath } from "./daemon-state-Dte9re5V.js";
|
|
14
9
|
import { r as formatOpenMeldCliCommands, t as formatInlineOpenMeldCliCommands } from "./cli-entry-command-CR_9QU1i.js";
|
|
15
|
-
import {
|
|
10
|
+
import { m as daemonRuntimeDataPath } from "./daemon-state-Dte9re5V.js";
|
|
16
11
|
import { createHash, randomUUID } from "node:crypto";
|
|
17
12
|
import { dirname, join } from "node:path";
|
|
18
13
|
import { mkdir, readFile, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
19
|
-
import * as z$1 from "zod/v4";
|
|
20
|
-
//#region ../../packages/schemas/dist/schemas/runtime/agent-execution-steer.js
|
|
21
|
-
/** The caller must resolve and authorize the exact live execution's task. */
|
|
22
|
-
const agentExecutionSteerRequestSchema = z$1.strictObject({
|
|
23
|
-
taskId: z$1.string().min(1),
|
|
24
|
-
inputId: z$1.string().min(1),
|
|
25
|
-
text: z$1.string().trim().min(1).max(1e5)
|
|
26
|
-
});
|
|
27
|
-
const agentExecutionSteerResponseSchema = z$1.discriminatedUnion("status", [
|
|
28
|
-
z$1.strictObject({
|
|
29
|
-
status: z$1.literal("applied"),
|
|
30
|
-
taskId: z$1.string().min(1),
|
|
31
|
-
threadId: z$1.string().min(1),
|
|
32
|
-
turnId: z$1.string().min(1)
|
|
33
|
-
}),
|
|
34
|
-
z$1.strictObject({
|
|
35
|
-
status: z$1.literal("not_applied"),
|
|
36
|
-
taskId: z$1.string().min(1),
|
|
37
|
-
reasonCode: z$1.enum([
|
|
38
|
-
"execution_input.target_unavailable",
|
|
39
|
-
"execution_input.unsupported",
|
|
40
|
-
"execution_input.rejected"
|
|
41
|
-
])
|
|
42
|
-
}),
|
|
43
|
-
z$1.strictObject({
|
|
44
|
-
status: z$1.literal("unconfirmed"),
|
|
45
|
-
taskId: z$1.string().min(1),
|
|
46
|
-
reasonCode: z$1.literal("execution_input.application_unconfirmed"),
|
|
47
|
-
diagnosticCode: z$1.string().min(1).max(160),
|
|
48
|
-
nativeErrorCode: z$1.number().int().optional()
|
|
49
|
-
})
|
|
50
|
-
]);
|
|
51
|
-
//#endregion
|
|
52
|
-
//#region ../../packages/schemas/dist/schemas/daemon/route-catalog-cache.js
|
|
53
|
-
const DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME = "openmeld-daemon-route-catalog-cache-v4";
|
|
54
|
-
const cachedDaemonRouteConfigSchema = z$1.strictObject({
|
|
55
|
-
agentControllerRef: z$1.string().trim().min(1),
|
|
56
|
-
bindingId: z$1.string().trim().min(1).optional(),
|
|
57
|
-
agentControllerCollaborationMode: agentControllerCollaborationModeSchema.optional(),
|
|
58
|
-
agentControllerPermissionMode: agentControllerPermissionModeSchema.optional(),
|
|
59
|
-
configurationRevision: z$1.number().int().positive().optional(),
|
|
60
|
-
contextIdMappingSpec: runtimeAgentControllerConversationIdMappingSpecSchema,
|
|
61
|
-
conversationPolicy: conversationPolicySchema.optional(),
|
|
62
|
-
openCodePermission: openCodePermissionConfigSchema.optional(),
|
|
63
|
-
launchContract: runtimeAgentControllerLaunchContractSchema.nullable().optional(),
|
|
64
|
-
profileId: agentProfileIdSchema,
|
|
65
|
-
streamingMode: runtimeStreamingModeSchema,
|
|
66
|
-
transportMode: runtimeTransportModeSchema,
|
|
67
|
-
openMeldServiceRuntimeId: z$1.string().trim().min(1).optional()
|
|
68
|
-
});
|
|
69
|
-
const daemonRouteCatalogCacheBodySchema = z$1.strictObject({
|
|
70
|
-
cachedAt: z$1.iso.datetime({ offset: true }),
|
|
71
|
-
runtimeContractEpoch: z$1.literal(CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH),
|
|
72
|
-
ownerUserId: z$1.string().trim().min(1),
|
|
73
|
-
lane: daemonServiceLaneSchema,
|
|
74
|
-
serviceBundleId: z$1.string().trim().min(1),
|
|
75
|
-
profileIds: z$1.array(agentProfileIdSchema),
|
|
76
|
-
routes: z$1.array(cachedDaemonRouteConfigSchema),
|
|
77
|
-
skippedProfiles: z$1.array(skippedDaemonProfileSchema)
|
|
78
|
-
});
|
|
79
|
-
const daemonRouteCatalogCacheSchema = z$1.discriminatedUnion("v", [
|
|
80
|
-
daemonRouteCatalogCacheBodySchema.extend({
|
|
81
|
-
v: z$1.literal(2),
|
|
82
|
-
schema: z$1.literal("openmeld-daemon-route-catalog-cache-v2")
|
|
83
|
-
}),
|
|
84
|
-
daemonRouteCatalogCacheBodySchema.extend({
|
|
85
|
-
v: z$1.literal(3),
|
|
86
|
-
schema: z$1.literal("openmeld-daemon-route-catalog-cache-v3")
|
|
87
|
-
}),
|
|
88
|
-
daemonRouteCatalogCacheBodySchema.extend({
|
|
89
|
-
v: z$1.literal(4),
|
|
90
|
-
schema: z$1.literal(DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME)
|
|
91
|
-
})
|
|
92
|
-
]).superRefine((value, ctx) => {
|
|
93
|
-
const routeIds = new Set(value.routes.map((route) => route.profileId));
|
|
94
|
-
for (const profileId of value.profileIds) if (!routeIds.has(profileId)) ctx.addIssue({
|
|
95
|
-
code: "custom",
|
|
96
|
-
message: "route catalog cache profileIds must match routes",
|
|
97
|
-
path: ["profileIds"]
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
//#endregion
|
|
101
14
|
//#region src/config/account-context.ts
|
|
102
15
|
function resolveOpenMeldAccountContext(input) {
|
|
103
16
|
const session = input?.session ?? null;
|
|
@@ -124,7 +37,7 @@ function resolveOpenMeldAccountContext(input) {
|
|
|
124
37
|
};
|
|
125
38
|
}
|
|
126
39
|
async function resolveCurrentOpenMeldAccountContext() {
|
|
127
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
40
|
+
const { getAuthSessionMetadata } = await import("./auth-session-EhHX7q2K.js");
|
|
128
41
|
return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
129
42
|
}
|
|
130
43
|
function resolveHostKey(baseUrl) {
|
|
@@ -1291,191 +1204,6 @@ function isInteractiveSession() {
|
|
|
1291
1204
|
return Boolean(process.stdin.isTTY && process.stdout.isTTY);
|
|
1292
1205
|
}
|
|
1293
1206
|
//#endregion
|
|
1294
|
-
|
|
1295
|
-
const CATALOG_SYNC_RETRY_INTERVAL_MS = CATALOG_SYNC_RETRY_INTERVAL_MS$1;
|
|
1296
|
-
const CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS = CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1;
|
|
1297
|
-
const DAEMON_RUNTIME_CONTRACT_EPOCH = DAEMON_RUNTIME_CONTRACT_EPOCH$1;
|
|
1298
|
-
const DAEMON_STREAM_CONNECT_TIMEOUT_MS = DAEMON_STREAM_CONNECT_TIMEOUT_MS$1;
|
|
1299
|
-
const DAEMON_STREAM_KEEPALIVE_INTERVAL_MS = DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1;
|
|
1300
|
-
const DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS = DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1;
|
|
1301
|
-
const DEFAULT_HEARTBEAT_INTERVAL_MS = DEFAULT_HEARTBEAT_INTERVAL_MS$1;
|
|
1302
|
-
const HEARTBEAT_RESPONSE_TIMEOUT_MS = HEARTBEAT_RESPONSE_TIMEOUT_MS$1;
|
|
1303
|
-
const MAX_HEARTBEAT_INTERVAL_MS = MAX_HEARTBEAT_INTERVAL_MS$1;
|
|
1304
|
-
const MIN_HEARTBEAT_INTERVAL_MS = MIN_HEARTBEAT_INTERVAL_MS$1;
|
|
1305
|
-
const PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS = PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1;
|
|
1306
|
-
const PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS = PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1;
|
|
1307
|
-
const REGISTER_RESPONSE_TIMEOUT_MS = REGISTER_RESPONSE_TIMEOUT_MS$1;
|
|
1308
|
-
const RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS = RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1;
|
|
1309
|
-
const RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS = RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1;
|
|
1310
|
-
const RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS = RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1;
|
|
1311
|
-
const DEFAULT_RECONNECT_DELAY_MS = 1e3;
|
|
1312
|
-
const MAX_RECONNECT_DELAY_MS = 1e4;
|
|
1313
|
-
const CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS = 5e3;
|
|
1314
|
-
const CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS = 5e3;
|
|
1315
|
-
const CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS = 15e3;
|
|
1316
|
-
const DAEMON_DEVICE_ID_FILE = "daemon-device-id.txt";
|
|
1317
|
-
const CONTEXT_STORE_FILE = "daemon-context-map.json";
|
|
1318
|
-
const LEDGER_DIR_NAME = "openMeldDaemon-ledger";
|
|
1319
|
-
const DAEMON_RUNTIME_CONTRACT_META_FILE = "runtime-contract-meta.json";
|
|
1320
|
-
const DAEMON_RUNTIME_CONTRACT_REPAIR_REPORT_FILE = "runtime-contract-repair-report.json";
|
|
1321
|
-
//#endregion
|
|
1322
|
-
//#region src/local-service/core/logger.ts
|
|
1323
|
-
function emitRunLine(input) {
|
|
1324
|
-
if (input.presenter.view === "agent") {
|
|
1325
|
-
input.presenter.data({
|
|
1326
|
-
code: input.code,
|
|
1327
|
-
payload: {
|
|
1328
|
-
message: input.text,
|
|
1329
|
-
...input.payload === void 0 ? {} : { payload: input.payload }
|
|
1330
|
-
}
|
|
1331
|
-
});
|
|
1332
|
-
return;
|
|
1333
|
-
}
|
|
1334
|
-
input.presenter.line({
|
|
1335
|
-
code: input.code,
|
|
1336
|
-
text: input.text
|
|
1337
|
-
});
|
|
1338
|
-
}
|
|
1339
|
-
function clampInteger(value, min, max) {
|
|
1340
|
-
return Math.min(max, Math.max(min, Math.trunc(value)));
|
|
1341
|
-
}
|
|
1342
|
-
function normalizeHeartbeatIntervalMs(value) {
|
|
1343
|
-
if (typeof value !== "number" || !Number.isFinite(value)) return DEFAULT_HEARTBEAT_INTERVAL_MS;
|
|
1344
|
-
return clampInteger(value, MIN_HEARTBEAT_INTERVAL_MS, MAX_HEARTBEAT_INTERVAL_MS);
|
|
1345
|
-
}
|
|
1346
|
-
function parseTransportMode(value) {
|
|
1347
|
-
const parsed = runtimeTransportModeSchema.safeParse(value);
|
|
1348
|
-
return parsed.success ? parsed.data : null;
|
|
1349
|
-
}
|
|
1350
|
-
function parseStreamingMode(value) {
|
|
1351
|
-
if (value === "final" || value === "stream") return value;
|
|
1352
|
-
return null;
|
|
1353
|
-
}
|
|
1354
|
-
function parseRuntimeTransportMode(value) {
|
|
1355
|
-
return parseTransportMode(value);
|
|
1356
|
-
}
|
|
1357
|
-
function parseContextIdMappingSpec(value) {
|
|
1358
|
-
const record = asRecord(value);
|
|
1359
|
-
if (!record) return null;
|
|
1360
|
-
const sourceField = normalizeOptionalText(record.sourceField);
|
|
1361
|
-
const mappingVersion = normalizePositiveInteger(record.mappingVersion);
|
|
1362
|
-
if (!(sourceField && mappingVersion)) return null;
|
|
1363
|
-
return {
|
|
1364
|
-
sourceField,
|
|
1365
|
-
mappingVersion
|
|
1366
|
-
};
|
|
1367
|
-
}
|
|
1368
|
-
function parsePositiveInteger(value) {
|
|
1369
|
-
if (!(typeof value === "number" && Number.isInteger(value) && value > 0)) return null;
|
|
1370
|
-
return value;
|
|
1371
|
-
}
|
|
1372
|
-
function normalizeNonNegativeInteger(value) {
|
|
1373
|
-
if (!(typeof value === "number" && Number.isInteger(value) && value >= 0)) return null;
|
|
1374
|
-
return value;
|
|
1375
|
-
}
|
|
1376
|
-
function normalizePositiveInteger(value) {
|
|
1377
|
-
return parsePositiveInteger(value);
|
|
1378
|
-
}
|
|
1379
|
-
function asRecord(value) {
|
|
1380
|
-
if (!value || typeof value !== "object" || Array.isArray(value)) return null;
|
|
1381
|
-
return value;
|
|
1382
|
-
}
|
|
1383
|
-
function normalizeText(value) {
|
|
1384
|
-
return String(value ?? "").trim();
|
|
1385
|
-
}
|
|
1386
|
-
function normalizeOptionalText(value) {
|
|
1387
|
-
const normalized = normalizeText(value);
|
|
1388
|
-
return normalized.length > 0 ? normalized : null;
|
|
1389
|
-
}
|
|
1390
|
-
function nowIsoString() {
|
|
1391
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
1392
|
-
}
|
|
1393
|
-
function warnDaemonEvent(eventName, fields) {
|
|
1394
|
-
const definedFields = Object.fromEntries(Object.entries(fields).filter((entry) => entry[1] !== void 0));
|
|
1395
|
-
console.warn(`${nowIsoString()} ${eventName} ${JSON.stringify(definedFields)}`);
|
|
1396
|
-
}
|
|
1397
|
-
const toErrorMessage = toErrorMessage$1;
|
|
1398
|
-
function dirnamePath(path) {
|
|
1399
|
-
const lastSlash = Math.max(path.lastIndexOf("/"), path.lastIndexOf("\\"));
|
|
1400
|
-
if (lastSlash <= 0) return ".";
|
|
1401
|
-
return path.slice(0, lastSlash);
|
|
1402
|
-
}
|
|
1403
|
-
//#endregion
|
|
1404
|
-
//#region src/local-service/state/daemon-device-id.ts
|
|
1405
|
-
function resolvePreferredDaemonDeviceId(input) {
|
|
1406
|
-
return normalizeOptionalText(input.explicitDeviceId) ?? normalizeOptionalText(input.contractDeviceId) ?? void 0;
|
|
1407
|
-
}
|
|
1408
|
-
async function resolveDaemonDeviceId(input) {
|
|
1409
|
-
const explicit = normalizeOptionalText(input.deviceId);
|
|
1410
|
-
if (explicit) {
|
|
1411
|
-
await persistDaemonDeviceIdIfNeeded({
|
|
1412
|
-
deviceId: explicit,
|
|
1413
|
-
deviceIdPath: input.deviceIdPath
|
|
1414
|
-
});
|
|
1415
|
-
return explicit;
|
|
1416
|
-
}
|
|
1417
|
-
const persisted = normalizeOptionalText(await readFile(input.deviceIdPath, "utf8").catch(() => ""));
|
|
1418
|
-
if (persisted && !(input.shouldDiscardPersistedDeviceId?.(persisted) ?? false)) return persisted;
|
|
1419
|
-
const generated = randomUUID();
|
|
1420
|
-
await writeDaemonDeviceId({
|
|
1421
|
-
deviceId: generated,
|
|
1422
|
-
deviceIdPath: input.deviceIdPath
|
|
1423
|
-
});
|
|
1424
|
-
return generated;
|
|
1425
|
-
}
|
|
1426
|
-
async function ensureDaemonRuntimePaths() {
|
|
1427
|
-
const dataRootPath = join(daemonRuntimeRootPath(), "data");
|
|
1428
|
-
const contextStorePath = join(dataRootPath, CONTEXT_STORE_FILE);
|
|
1429
|
-
const deviceIdPath = daemonDeviceIdPath();
|
|
1430
|
-
const legacyDeviceIdPath = join(dataRootPath, DAEMON_DEVICE_ID_FILE);
|
|
1431
|
-
const ledgerRootPath = join(dataRootPath, LEDGER_DIR_NAME);
|
|
1432
|
-
await mkdir(dataRootPath, { recursive: true });
|
|
1433
|
-
await mkdir(ledgerRootPath, { recursive: true });
|
|
1434
|
-
await mkdir(dirnamePath(deviceIdPath), { recursive: true });
|
|
1435
|
-
await migrateLegacyDaemonDeviceId({
|
|
1436
|
-
deviceIdPath,
|
|
1437
|
-
legacyDeviceIdPath
|
|
1438
|
-
});
|
|
1439
|
-
return {
|
|
1440
|
-
contractMetaPath: join(dataRootPath, DAEMON_RUNTIME_CONTRACT_META_FILE),
|
|
1441
|
-
contractRepairReportPath: join(dataRootPath, DAEMON_RUNTIME_CONTRACT_REPAIR_REPORT_FILE),
|
|
1442
|
-
contextStorePath,
|
|
1443
|
-
dataRootPath,
|
|
1444
|
-
deviceIdPath,
|
|
1445
|
-
ledgerRootPath
|
|
1446
|
-
};
|
|
1447
|
-
}
|
|
1448
|
-
function daemonDeviceIdPath() {
|
|
1449
|
-
return join(systemDir(), DAEMON_DEVICE_ID_FILE);
|
|
1450
|
-
}
|
|
1451
|
-
function buildLedgerPaths(ledgerRootPath) {
|
|
1452
|
-
return {
|
|
1453
|
-
backupStateFilePath: join(ledgerRootPath, "state.backup.json"),
|
|
1454
|
-
historyFilePath: join(ledgerRootPath, "history.ndjson"),
|
|
1455
|
-
historyTempFilePath: join(ledgerRootPath, "history.tmp"),
|
|
1456
|
-
rootDirPath: ledgerRootPath,
|
|
1457
|
-
stateFilePath: join(ledgerRootPath, "state.json"),
|
|
1458
|
-
stateTempFilePath: join(ledgerRootPath, "state.tmp")
|
|
1459
|
-
};
|
|
1460
|
-
}
|
|
1461
|
-
async function persistDaemonDeviceIdIfNeeded(input) {
|
|
1462
|
-
if (normalizeOptionalText(await readFile(input.deviceIdPath, "utf8").catch(() => "")) === input.deviceId) return;
|
|
1463
|
-
await writeDaemonDeviceId(input);
|
|
1464
|
-
}
|
|
1465
|
-
async function writeDaemonDeviceId(input) {
|
|
1466
|
-
await mkdir(dirnamePath(input.deviceIdPath), { recursive: true });
|
|
1467
|
-
await writeFile(input.deviceIdPath, `${input.deviceId}\n`, "utf8");
|
|
1468
|
-
}
|
|
1469
|
-
async function migrateLegacyDaemonDeviceId(input) {
|
|
1470
|
-
if (normalizeOptionalText(await readFile(input.deviceIdPath, "utf8").catch(() => ""))) return;
|
|
1471
|
-
const legacy = normalizeOptionalText(await readFile(input.legacyDeviceIdPath, "utf8").catch(() => ""));
|
|
1472
|
-
if (!legacy) return;
|
|
1473
|
-
await writeDaemonDeviceId({
|
|
1474
|
-
deviceId: legacy,
|
|
1475
|
-
deviceIdPath: input.deviceIdPath
|
|
1476
|
-
});
|
|
1477
|
-
}
|
|
1478
|
-
//#endregion
|
|
1479
|
-
export { assertAdditionalHumanProfileCreationEnabled as $, DEFAULT_RECONNECT_DELAY_MS as A, resolveRuntimeContext as B, CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS as C, agentExecutionSteerRequestSchema as Ct, DAEMON_STREAM_CONNECT_TIMEOUT_MS as D, DAEMON_RUNTIME_CONTRACT_REPAIR_REPORT_FILE as E, REGISTER_RESPONSE_TIMEOUT_MS as F, createOpenMeldAgentProfile as G, isSelectedOpenMeldProfileRequiredError as H, RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS as I, getOpenMeldProfileCapabilities as J, createOpenMeldHumanProfile as K, RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS as L, MAX_RECONNECT_DELAY_MS as M, PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS as N, DAEMON_STREAM_KEEPALIVE_INTERVAL_MS as O, PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS as P, updateOpenMeldProfile as Q, RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS as R, CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS as S, daemonRouteCatalogCacheSchema as St, DAEMON_RUNTIME_CONTRACT_META_FILE as T, requireOpenMeldProfile as U, resolveViewProfileKey as V, resolveOpenMeldProfileOrNull as W, primeOpenMeldProfilesSessionCache as X, listOpenMeldProfiles as Y, resolveOpenMeldProfile as Z, toErrorMessage as _, getProfileDefaultView as _t, asRecord as a, getSelectedOpenMeldProfileId as at, CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS as b, DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME as bt, normalizeHeartbeatIntervalMs as c, buildAuthenticationStatusLabel as ct, normalizeText as d, createAuthenticationError as dt, readDaemonCatalogSyncSignal as et, nowIsoString as f, extractAuthenticationPromptAction as ft, parseTransportMode as g, resolveAuthenticationReasonFromState as gt, parseStreamingMode as h, resolveAuthenticationGuidanceFromMessage as ht, resolvePreferredDaemonDeviceId as i, clearSelectedOpenMeldProfileId as it, HEARTBEAT_RESPONSE_TIMEOUT_MS as j, DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS as k, normalizeNonNegativeInteger as l, buildCommandAuthenticationPromptMessage as lt, parseRuntimeTransportMode as m, resolveAuthenticationGuidanceFromError as mt, ensureDaemonRuntimePaths as n, alignSelectedOpenMeldProfileStorage as nt, dirnamePath as o, setSelectedOpenMeldProfileId as ot, parseContextIdMappingSpec as p, resolveAuthenticationGuidance as pt, deleteOpenMeldProfile as q, resolveDaemonDeviceId as r, clearAllSelectedOpenMeldProfileIds as rt, emitRunLine as s, buildAgentAuthenticationGuide as st, buildLedgerPaths as t, touchDaemonCatalogSyncSignal as tt, normalizeOptionalText as u, buildHumanAuthenticationCard as ut, warnDaemonEvent as v, setProfileDefaultView as vt, DAEMON_RUNTIME_CONTRACT_EPOCH as w, agentExecutionSteerResponseSchema as wt, CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS as x, cachedDaemonRouteConfigSchema as xt, CATALOG_SYNC_RETRY_INTERVAL_MS as y, resolveCurrentOpenMeldAccountContext as yt, parseCliViewMode as z };
|
|
1207
|
+
export { resolveAuthenticationGuidanceFromError as A, buildAgentAuthenticationGuide as C, createAuthenticationError as D, buildHumanAuthenticationCard as E, resolveCurrentOpenMeldAccountContext as F, resolveAuthenticationReasonFromState as M, getProfileDefaultView as N, extractAuthenticationPromptAction as O, setProfileDefaultView as P, setSelectedOpenMeldProfileId as S, buildCommandAuthenticationPromptMessage as T, touchDaemonCatalogSyncSignal as _, requireOpenMeldProfile as a, clearSelectedOpenMeldProfileId as b, createOpenMeldHumanProfile as c, listOpenMeldProfiles as d, primeOpenMeldProfilesSessionCache as f, readDaemonCatalogSyncSignal as g, assertAdditionalHumanProfileCreationEnabled as h, isSelectedOpenMeldProfileRequiredError as i, resolveAuthenticationGuidanceFromMessage as j, resolveAuthenticationGuidance as k, deleteOpenMeldProfile as l, updateOpenMeldProfile as m, resolveRuntimeContext as n, resolveOpenMeldProfileOrNull as o, resolveOpenMeldProfile as p, resolveViewProfileKey as r, createOpenMeldAgentProfile as s, parseCliViewMode as t, getOpenMeldProfileCapabilities as u, alignSelectedOpenMeldProfileStorage as v, buildAuthenticationStatusLabel as w, getSelectedOpenMeldProfileId as x, clearAllSelectedOpenMeldProfileIds as y };
|
|
1480
1208
|
|
|
1481
|
-
//# sourceMappingURL=
|
|
1209
|
+
//# sourceMappingURL=context-BbodhIFX.js.map
|