agl 43.14.0 → 44.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +33 -0
- package/dist_serve/bundle.js +4473 -4235
- package/dist_serve/bundle.js.map +2 -2
- package/dist_serve/bundle.js.third-party-notices.json +29 -29
- package/dist_serve/bundle.js.third-party-notices.txt +29 -29
- package/dist_ts/00_commitinfo_data.js +2 -2
- package/dist_ts/aglapi/aglapisurface.document.js +37 -4
- package/dist_ts/classes.authstore.d.ts +60 -3
- package/dist_ts/classes.authstore.js +161 -13
- package/dist_ts/classes.controller.d.ts +63 -0
- package/dist_ts/classes.controller.js +502 -43
- package/dist_ts/classes.embeddeddb.js +7 -2
- package/dist_ts/classes.flexmodels.private.d.ts +39 -0
- package/dist_ts/classes.flexmodels.private.js +127 -1
- package/dist_ts/classes.flexprojectpreparation.d.ts +21 -0
- package/dist_ts/classes.flexprojectpreparation.js +69 -0
- package/dist_ts/classes.flexpromptqueue.d.ts +21 -1
- package/dist_ts/classes.flexpromptqueue.js +67 -7
- package/dist_ts/classes.flexrequestqueue.d.ts +11 -0
- package/dist_ts/classes.flexrequestqueue.js +40 -0
- package/dist_ts/classes.flexservice.d.ts +46 -14
- package/dist_ts/classes.flexservice.js +179 -55
- package/dist_ts/classes.flexstore.d.ts +68 -3
- package/dist_ts/classes.flexstore.js +277 -11
- package/dist_ts/classes.flexsubmissionmodels.d.ts +58 -0
- package/dist_ts/classes.flexsubmissionmodels.js +162 -0
- package/dist_ts/classes.flexsubmissionstore.d.ts +70 -0
- package/dist_ts/classes.flexsubmissionstore.js +323 -0
- package/dist_ts/classes.flexsupervisor.d.ts +10 -0
- package/dist_ts/classes.flexsupervisor.js +27 -1
- package/dist_ts/classes.harnessoperationmanager.d.ts +31 -0
- package/dist_ts/classes.harnessoperationmanager.js +69 -7
- package/dist_ts/classes.pendingpromptstore.d.ts +11 -3
- package/dist_ts/classes.pendingpromptstore.js +66 -10
- package/dist_ts/classes.sessionidentityservice.d.ts +18 -1
- package/dist_ts/classes.sessionidentityservice.js +34 -4
- package/dist_ts/classes.validation.d.ts +3 -0
- package/dist_ts/classes.validation.js +50 -1
- package/dist_ts/functions.deviceapi.js +3 -1
- package/dist_ts/interfaces.auth.d.ts +3 -1
- package/dist_ts/interfaces.auth.js +1 -1
- package/dist_ts/interfaces.flexipc.d.ts +29 -5
- package/dist_ts/interfaces.flexipc.js +13 -4
- package/dist_ts_authswitch/classes.authoritydatabase.d.ts +1 -0
- package/dist_ts_authswitch/classes.authoritydatabase.js +17 -5
- package/dist_ts_interfaces/flexadmission.d.ts +69 -0
- package/dist_ts_interfaces/flexadmission.js +2 -0
- package/dist_ts_interfaces/index.d.ts +1 -0
- package/dist_ts_interfaces/index.js +2 -1
- package/dist_ts_interfaces/interfaces.d.ts +10 -1
- package/dist_ts_interfaces/interfaces.js +2 -2
- package/dist_ts_interfaces/requests.d.ts +2 -1
- package/dist_ts_interfaces/requests.js +1 -1
- package/dist_ts_migration/v10_flexharnessv3migration.js +4 -1
- package/docs/nosqldb11-migration.md +59 -0
- package/package.json +10 -9
- package/readme.md +5 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/aglapi/aglapisurface.document.ts +36 -3
- package/ts/classes.authstore.ts +179 -11
- package/ts/classes.controller.ts +498 -40
- package/ts/classes.embeddeddb.ts +6 -1
- package/ts/classes.flexmodels.private.ts +109 -0
- package/ts/classes.flexprojectpreparation.ts +69 -0
- package/ts/classes.flexpromptqueue.ts +69 -6
- package/ts/classes.flexrequestqueue.ts +47 -0
- package/ts/classes.flexservice.ts +187 -51
- package/ts/classes.flexstore.ts +352 -10
- package/ts/classes.flexsubmissionmodels.ts +89 -0
- package/ts/classes.flexsubmissionstore.ts +312 -0
- package/ts/classes.flexsupervisor.ts +26 -0
- package/ts/classes.harnessoperationmanager.ts +79 -6
- package/ts/classes.pendingpromptstore.ts +55 -6
- package/ts/classes.sessionidentityservice.ts +33 -2
- package/ts/classes.validation.ts +42 -0
- package/ts/functions.deviceapi.ts +2 -0
- package/ts/interfaces.auth.ts +3 -1
- package/ts/interfaces.flexipc.ts +38 -4
- package/ts_authswitch/classes.authoritydatabase.ts +19 -5
- package/ts_interfaces/flexadmission.ts +52 -0
- package/ts_interfaces/index.ts +2 -0
- package/ts_interfaces/interfaces.ts +10 -1
- package/ts_interfaces/requests.ts +3 -0
- package/ts_migration/v10_flexharnessv3migration.ts +3 -0
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/classes.browsersubmissions.ts +279 -0
- package/ts_web/classes.sessiondraftsync.ts +64 -1
- package/ts_web/elements.harnesscontrollerapp.ts +340 -5
- package/ts_web/functions.flexsubmissions.ts +88 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type * as plugins from './plugins.js';
|
|
2
|
+
import type { IControllerDraftAttachment, IControllerRuntimeId, TControllerHeldPromptReason, TControllerModelChoice, TControllerPromptDelivery } from './interfaces.js';
|
|
3
|
+
/** Immutable browser input. One new intent is reused for every rapid send to that conversation. */
|
|
4
|
+
export type TControllerFlexAdmissionConversation = {
|
|
5
|
+
kind: 'existing';
|
|
6
|
+
sessionId: IControllerRuntimeId & {
|
|
7
|
+
harnessId: 'flex';
|
|
8
|
+
};
|
|
9
|
+
sessionIdentityId: string;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'new';
|
|
12
|
+
clientConversationId: string;
|
|
13
|
+
title?: string;
|
|
14
|
+
scratchpad?: string;
|
|
15
|
+
};
|
|
16
|
+
export interface IControllerFlexSubmissionInput {
|
|
17
|
+
version: 1;
|
|
18
|
+
projectId: string;
|
|
19
|
+
clientMessageId: string;
|
|
20
|
+
conversation: TControllerFlexAdmissionConversation;
|
|
21
|
+
text: string;
|
|
22
|
+
attachments: IControllerDraftAttachment[];
|
|
23
|
+
model: TControllerModelChoice & {
|
|
24
|
+
harnessId: 'flex';
|
|
25
|
+
};
|
|
26
|
+
providerConnectionId: string;
|
|
27
|
+
delivery: TControllerPromptDelivery;
|
|
28
|
+
/** Clears only this shared draft revision after commit; never consumes a mutable draft. */
|
|
29
|
+
capturedDraft?: {
|
|
30
|
+
revision: number;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export interface IControllerFlexSubmissionReceipt {
|
|
34
|
+
version: 1;
|
|
35
|
+
clientMessageId: string;
|
|
36
|
+
operationId: string;
|
|
37
|
+
projectId: string;
|
|
38
|
+
sessionId: IControllerRuntimeId & {
|
|
39
|
+
harnessId: 'flex';
|
|
40
|
+
};
|
|
41
|
+
sessionGenerationId: string;
|
|
42
|
+
/** Native authority assigns this only on materialization; absent while creation is pending. */
|
|
43
|
+
sessionGenerationSequence?: number;
|
|
44
|
+
sessionIdentityId?: string;
|
|
45
|
+
clientConversationId?: string;
|
|
46
|
+
serverSequence: number;
|
|
47
|
+
acceptedAt: number;
|
|
48
|
+
state: 'waiting' | 'handedOver' | 'held' | 'settled';
|
|
49
|
+
heldReason?: TControllerHeldPromptReason;
|
|
50
|
+
creation: 'pending' | 'ready' | 'uncertain' | 'retired';
|
|
51
|
+
}
|
|
52
|
+
export interface IReq_ControllerFlexSubmissionAdmit extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ControllerFlexSubmissionAdmit> {
|
|
53
|
+
method: 'controller.flex.submission.admit';
|
|
54
|
+
request: IControllerFlexSubmissionInput;
|
|
55
|
+
response: IControllerFlexSubmissionReceipt;
|
|
56
|
+
}
|
|
57
|
+
/** Exact readback only. An unknown result never authorizes an automatic resend. */
|
|
58
|
+
export interface IReq_ControllerFlexSubmissionGet extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ControllerFlexSubmissionGet> {
|
|
59
|
+
method: 'controller.flex.submission.get';
|
|
60
|
+
request: {
|
|
61
|
+
version: 1;
|
|
62
|
+
projectId: string;
|
|
63
|
+
clientMessageId: string;
|
|
64
|
+
};
|
|
65
|
+
response: {
|
|
66
|
+
version: 1;
|
|
67
|
+
receipt: IControllerFlexSubmissionReceipt | null;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -38,4 +38,5 @@ export * from './proxycapacity.js';
|
|
|
38
38
|
export * from './devices.js';
|
|
39
39
|
export * from './requests.devices.js';
|
|
40
40
|
export * from './push.js';
|
|
41
|
-
|
|
41
|
+
export * from './flexadmission.js';
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsa0JBQWtCLENBQUM7QUFFakMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLFdBQVcsQ0FBQztBQUUxQixjQUFjLG9CQUFvQixDQUFDIn0=
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ILiveBrowserDialog, ILiveBrowserDialogResponse, ILiveVideoOffer, ILiveVideoDescription, ILiveVideoStatistics, ILiveVideoAcceleration } from '@push.rocks/smartbrowser/web';
|
|
2
2
|
import type { IControllerBrowserPaintSource, IControllerBrowserPresentationState, TControllerBrowserPaintAvailability, TControllerBrowserPaintTermination } from './browserpaint.js';
|
|
3
|
-
export declare const controllerProtocolVersion:
|
|
3
|
+
export declare const controllerProtocolVersion: 54;
|
|
4
4
|
export declare const controllerUpgradeManagementVersion: 2;
|
|
5
5
|
export declare const controllerPackageName: 'agl';
|
|
6
6
|
/** The systemd user unit `agl service install` writes; a controller it runs reports it in its status. */
|
|
@@ -915,6 +915,15 @@ export interface IControllerNativeWait {
|
|
|
915
915
|
reason: TControllerNativeWaitReason;
|
|
916
916
|
}
|
|
917
917
|
export interface IControllerSession {
|
|
918
|
+
/** Exact managed Flex identity for immutable admission, supplied without a transcript generation read. */
|
|
919
|
+
sessionIdentityId?: string;
|
|
920
|
+
/** Controller-owned conversation intent, discoverable before native materialization. */
|
|
921
|
+
flexAdmission?: {
|
|
922
|
+
clientConversationId?: string;
|
|
923
|
+
creation: 'pending' | 'ready' | 'uncertain' | 'retired';
|
|
924
|
+
sessionGenerationId: string;
|
|
925
|
+
sessionGenerationSequence?: number;
|
|
926
|
+
};
|
|
918
927
|
id: IControllerRuntimeId;
|
|
919
928
|
title: string;
|
|
920
929
|
parentId?: IControllerRuntimeId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const controllerProtocolVersion =
|
|
1
|
+
export const controllerProtocolVersion = 54;
|
|
2
2
|
export const controllerUpgradeManagementVersion = 2;
|
|
3
3
|
export const controllerPackageName = 'agl';
|
|
4
4
|
/** The systemd user unit `agl service install` writes; a controller it runs reports it in its status. */
|
|
@@ -216,4 +216,4 @@ export const controllerEventTypes = [
|
|
|
216
216
|
/** The Inbox changed: what waits for the owner (`inbox`, a delta). */
|
|
217
217
|
'inbox.changed',
|
|
218
218
|
];
|
|
219
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
219
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzX2ludGVyZmFjZXMvaW50ZXJmYWNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPQSxNQUFNLENBQUMsTUFBTSx5QkFBeUIsR0FBRyxFQUFXLENBQUM7QUFDckQsTUFBTSxDQUFDLE1BQU0sa0NBQWtDLEdBQUcsQ0FBVSxDQUFDO0FBQzdELE1BQU0sQ0FBQyxNQUFNLHFCQUFxQixHQUFHLEtBQWMsQ0FBQztBQUNwRCx5R0FBeUc7QUFDekcsTUFBTSxDQUFDLE1BQU0seUJBQXlCLEdBQUcsd0JBQWlDLENBQ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scUJBQXFCO0lBQ3JCLGlCQUFpQjtJQUNqQixrQkFBa0I7SUFDbEIsa0JBQWtCO0lBQ2xCLHVCQUF1QjtJQUN2QixtQkFBbUI7SUFDbkIsaUJBQWlCO0lBQ2pCLGtCQUFrQjtJQUNsQixtQkFBbUI7SUFDbkIsaUJBQWlCO0lBQ2pCLGtCQUFrQjtJQUNsQixnQkFBZ0I7SUFDaEIsdUJBQXVCO0lBQ3ZCLHVCQUF1QjtJQUN2QixxQkFBcUI7SUFDckIsZUFBZTtJQUNmLGlCQUFpQjtJQUNqQixrR0FBa0c7SUFDbEcscUJBQXFCO0lBQ3JCLHNFQUFzRTtJQUN0RSxlQUFlO0NBQ1AsQ0FBQyJ9
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IReq_ControllerFlexSubmissionAdmit, IReq_ControllerFlexSubmissionGet } from './flexadmission.js';
|
|
1
2
|
import type { IReq_ControllerConfigurationResourceGet, IReq_ControllerConfigurationStateGet, IReq_ControllerConfigurationSummaryGet, IReq_ControllerConfigurationMasterGet, IReq_ControllerConfigurationMasterSave, IReq_ControllerConfigurationProject, IReq_ControllerConfigurationReview, IReq_ControllerConfigurationApply, IReq_ControllerConfigurationRestoreReview, IReq_ControllerConfigurationRestore, IReq_ControllerConfigurationTargetBind, IReq_ControllerConfigurationOperationRetry, IReq_ControllerConfigurationOperationRecover, IReq_ControllerConfigurationOperationAbandon, IReq_ControllerConfigurationOwnerIssue, IReq_ControllerConfigurationOwnerRevoke } from './requests.configuration.js';
|
|
2
3
|
import type { IReq_ControllerAccountsAdd, IReq_ControllerAccountsDoctorGet, IReq_ControllerAccountsOperationCancel, IReq_ControllerAccountsOperationGet, IReq_ControllerAccountsPreuseCancel, IReq_ControllerAccountsPreuseGet, IReq_ControllerAccountsPreuseStart, IReq_ControllerAccountsReauth, IReq_ControllerAccountsRemove, IReq_ControllerAccountsRename, IReq_ControllerAccountsMaxUsage, IReq_ControllerAccountsReserveLift, IReq_ControllerAccountsApiKeyAdd, IReq_ControllerAccountsSpendLimit, IReq_ControllerAccountsClaudeCode, IReq_ControllerAccountsRenewal, IReq_ControllerAccountsPriority, IReq_ControllerAccountsPause, IReq_ControllerAccountsSnapshot, IReq_ControllerAccountsUsageGet, IReq_ControllerAccountsUsageRecheck, IReq_ControllerAccountsClaudeHostGet, IReq_ControllerAccountsClaudeRelease, IReq_ControllerAccountsClaudeReleaseGet, IReq_ControllerAccountsClaudeRepair, IReq_ControllerAccountsClaudeSignInCancel, IReq_ControllerAccountsClaudeSignInGet, IReq_ControllerAccountsClaudeSignInStart, IReq_ControllerAccountsCodexAdopt, IReq_ControllerCodexAccountUse, IReq_ControllerAccountsCodexRelease } from './requests.accounts.js';
|
|
3
4
|
import type { IReq_ControllerOpenCodeRestart, IReq_ControllerProxyStatusGet, IReq_ControllerRestart, IReq_ControllerStatus } from './requests.status.js';
|
|
@@ -43,4 +44,4 @@ export * from './requests.browser.js';
|
|
|
43
44
|
export * from './requests.terminal.js';
|
|
44
45
|
export * from './requests.workspace.js';
|
|
45
46
|
export * from './requests.events.js';
|
|
46
|
-
export type TControllerRequest = IReq_ControllerConfigurationResourceGet | IReq_ControllerConfigurationStateGet | IReq_ControllerConfigurationSummaryGet | IReq_ControllerConfigurationMasterGet | IReq_ControllerConfigurationMasterSave | IReq_ControllerConfigurationProject | IReq_ControllerConfigurationReview | IReq_ControllerConfigurationApply | IReq_ControllerConfigurationRestoreReview | IReq_ControllerConfigurationRestore | IReq_ControllerConfigurationTargetBind | IReq_ControllerConfigurationOperationRetry | IReq_ControllerConfigurationOperationRecover | IReq_ControllerConfigurationOperationAbandon | IReq_ControllerConfigurationOwnerIssue | IReq_ControllerConfigurationOwnerRevoke | IReq_ControllerStatus | IReq_ControllerProxyStatusGet | IReq_ControllerOpenCodeRestart | IReq_ControllerRestart | IReq_ControllerDriverGet | IReq_ControllerDriverEnsure | IReq_ControllerDriverSeen | IReq_ControllerFleetWorkerList | IReq_ControllerFleetWorkerRead | IReq_ControllerFleetWorkerSteer | IReq_ControllerDirectReportList | IReq_ControllerDirectReportMessage | IReq_ControllerDirectReportRead | IReq_ControllerDirectReportPreflight | IReq_ControllerDirectReportAppoint | IReq_ControllerDirectReportAdopt | IReq_ControllerSessionFeedList | IReq_ControllerSessionFeedAcknowledge | TControllerDeployTypedRequest | IReq_ControllerNativeSessionRead | IReq_ControllerNativeSessionAuxiliaryGet | IReq_ControllerNativeSessionSend | IReq_ControllerNativeSessionScratchpadSave | IReq_ControllerNativeSessionIntelligenceAsk | IReq_ControllerNativeSessionPermissionReply | IReq_ControllerNativeSessionQuestionReply | IReq_ControllerNativeSessionElicitationReply | IReq_ControllerUsageWatch | IReq_ControllerUsageUnwatch | IReq_ControllerSystemMetrics | IReq_ControllerSystemMetricsHistory | IReq_ControllerFailureDetailGet | IReq_ControllerAuthState | IReq_ControllerSetupBegin | IReq_ControllerSetupFinish | IReq_ControllerAuthenticationBegin | IReq_ControllerAuthenticationFinish | IReq_ControllerTempPasswordLogin | IReq_ControllerAuthResume | IReq_ControllerAuthHandoff | IReq_ControllerAuthSignout | IReq_ControllerProjectList | IReq_ControllerProjectCreate | IReq_ControllerProjectRemove | IReq_ControllerProjectRemovalRetry | IReq_ControllerProjectAgentMessagesUpdate | IReq_ControllerProjectSuggest | IReq_ControllerProviderConnectionList | IReq_ControllerProviderModelRefreshBegin | IReq_ControllerProviderModelRefreshGet | IReq_ControllerSlashList | IReq_ControllerSlashExecute | IReq_ControllerModelList | IReq_ControllerSettingsGet | IReq_ControllerSettingsUpdate | IReq_ControllerConversationList | IReq_ControllerConversationSearch | IReq_ControllerConversationOpen | IReq_ControllerConversationArchive | IReq_ControllerConversationReopen | IReq_ControllerSessionGet | IReq_ControllerSessionChildGet | IReq_ControllerSessionChildStatusGet | IReq_ControllerFlexChildGet | IReq_ControllerCodexChildGet | IReq_ControllerSessionChildMessagesPage | IReq_ControllerSessionChildMessageGet | IReq_ControllerSessionChildPermissionReply | IReq_ControllerSessionChildQuestionReply | IReq_ControllerSessionAuxiliaryGet | IReq_ControllerSessionModelUpdate | IReq_ControllerSessionScratchpadSave | IReq_ControllerSessionIntelligenceAsk | IReq_ControllerSessionMessagesPage | IReq_ControllerSessionMessageGet | IReq_ControllerSessionCreate | IReq_ControllerSessionDelete | IReq_ControllerSessionDiscardEmpty | IReq_ControllerSessionDraftGet | IReq_ControllerSessionDraftUpdate | IReq_ControllerSessionSend | import('./codex.js').IReq_ControllerCodexRestart | import('./codex.js').IReq_ControllerCodexWriterUpdate | import('./codex.js').IReq_ControllerCodexModeUpdate | import('./codex.js').IReq_ControllerCodexProfilesList | import('./codex.js').IReq_ControllerCodexAccountProfile | import('./codex.js').IReq_ControllerCodexProfileCreate | import('./codex.js').IReq_ControllerCodexProfileUpdate | import('./codex.js').IReq_ControllerCodexProfileTest | import('./codex.js').IReq_ControllerCodexMappingUpdate | import('./codex.js').IReq_ControllerCodexThreadsList | import('./codex.js').IReq_ControllerCodexThreadEnroll | IReq_ControllerSessionAbort | IReq_ControllerSessionHarnessRestart | IReq_ControllerSessionCompactionUpdate | IReq_ControllerSessionLimitResumeUpdate | IReq_ControllerSessionPromptQueueRelease | IReq_ControllerSessionHeldPromptRelease | IReq_ControllerSessionPendingPromptAction | IReq_ControllerPermissionReply | IReq_ControllerQuestionReply | IReq_ControllerElicitationReply | IReq_ControllerSessionRename | IReq_ControllerSessionArchive | IReq_ControllerSessionGroupsGet | IReq_ControllerSessionGroupsUpdate | IReq_ControllerSessionYolo | IReq_ControllerResourceList | IReq_ControllerResourceCreate | IReq_ControllerResourceRename | IReq_ControllerResourceAttach | IReq_ControllerResourceDetach | IReq_ControllerResourceRetire | IReq_ControllerResourceStart | IReq_ControllerResourceStop | IReq_ControllerBrowserViewOpen | IReq_ControllerBrowserViewActivate | IReq_ControllerBrowserViewRecover | IReq_ControllerBrowserViewClose | IReq_ControllerBrowserDevToolsOpen | IReq_ControllerBrowserDevToolsClose | IReq_ControllerBrowserPaintOpen | IReq_ControllerBrowserPaintClose | IReq_ControllerBrowserAudioOpen | IReq_ControllerBrowserAudioClose | IReq_ControllerBrowserPaintRearm | IReq_ControllerBrowserAssetsGet | IReq_ControllerBrowserPaintVideoRouteOpen | IReq_ControllerTerminalList | IReq_ControllerTerminalCreate | IReq_ControllerTerminalRename | IReq_ControllerTerminalRemove | IReq_ControllerTerminalAttach | IReq_ControllerTerminalDetach | IReq_ControllerTerminalInput | IReq_ControllerTerminalResize | IReq_ControllerWorkspaceList | IReq_ControllerWorkspaceStat | IReq_ControllerWorkspaceRead | IReq_ControllerWorkspaceWrite | IReq_ControllerWorkspaceMkdir | IReq_ControllerWorkspaceRemove | IReq_ControllerWorkspaceRename | IReq_ControllerWorkspaceCopy | IReq_ControllerWorkspaceWatch | IReq_ControllerWorkspaceUnwatch | IReq_ControllerWorkspaceBaseSet | IReq_ControllerTerminalOutput | IReq_ControllerTerminalDetached | IReq_ControllerWorkspaceChanged | IReq_ControllerAccountsSnapshot | IReq_ControllerAccountsRename | IReq_ControllerAccountsMaxUsage | IReq_ControllerAccountsReserveLift | IReq_ControllerAccountsApiKeyAdd | IReq_ControllerAccountsSpendLimit | IReq_ControllerAccountsClaudeCode | IReq_ControllerAccountsRenewal | IReq_ControllerAccountsPriority | IReq_ControllerAccountsPause | IReq_ControllerAccountsRemove | IReq_ControllerAccountsAdd | IReq_ControllerAccountsReauth | IReq_ControllerAccountsOperationGet | IReq_ControllerAccountsOperationCancel | IReq_ControllerAccountsUsageGet | IReq_ControllerAccountsUsageRecheck | IReq_ControllerAccountsPreuseStart | IReq_ControllerAccountsPreuseGet | IReq_ControllerAccountsPreuseCancel | IReq_ControllerAccountsDoctorGet | IReq_ControllerAccountsClaudeSignInStart | IReq_ControllerAccountsClaudeSignInGet | IReq_ControllerAccountsClaudeSignInCancel | IReq_ControllerAccountsClaudeHostGet | IReq_ControllerAccountsClaudeRelease | IReq_ControllerAccountsClaudeReleaseGet | IReq_ControllerAccountsClaudeRepair | IReq_ControllerCodexAccountUse | IReq_ControllerAccountsCodexRelease | IReq_ControllerAccountsCodexAdopt | IReq_ControllerDevicesList | IReq_ControllerDevicesPairingBegin | IReq_ControllerDevicesPairingCancel | IReq_ControllerDevicesRevoke | IReq_ControllerInboxList | import('./requests.tickets.js').TControllerTicketTypedRequest | IReq_ControllerEvent | IReq_ControllerSessionChildEvent;
|
|
47
|
+
export type TControllerRequest = IReq_ControllerFlexSubmissionAdmit | IReq_ControllerFlexSubmissionGet | IReq_ControllerConfigurationResourceGet | IReq_ControllerConfigurationStateGet | IReq_ControllerConfigurationSummaryGet | IReq_ControllerConfigurationMasterGet | IReq_ControllerConfigurationMasterSave | IReq_ControllerConfigurationProject | IReq_ControllerConfigurationReview | IReq_ControllerConfigurationApply | IReq_ControllerConfigurationRestoreReview | IReq_ControllerConfigurationRestore | IReq_ControllerConfigurationTargetBind | IReq_ControllerConfigurationOperationRetry | IReq_ControllerConfigurationOperationRecover | IReq_ControllerConfigurationOperationAbandon | IReq_ControllerConfigurationOwnerIssue | IReq_ControllerConfigurationOwnerRevoke | IReq_ControllerStatus | IReq_ControllerProxyStatusGet | IReq_ControllerOpenCodeRestart | IReq_ControllerRestart | IReq_ControllerDriverGet | IReq_ControllerDriverEnsure | IReq_ControllerDriverSeen | IReq_ControllerFleetWorkerList | IReq_ControllerFleetWorkerRead | IReq_ControllerFleetWorkerSteer | IReq_ControllerDirectReportList | IReq_ControllerDirectReportMessage | IReq_ControllerDirectReportRead | IReq_ControllerDirectReportPreflight | IReq_ControllerDirectReportAppoint | IReq_ControllerDirectReportAdopt | IReq_ControllerSessionFeedList | IReq_ControllerSessionFeedAcknowledge | TControllerDeployTypedRequest | IReq_ControllerNativeSessionRead | IReq_ControllerNativeSessionAuxiliaryGet | IReq_ControllerNativeSessionSend | IReq_ControllerNativeSessionScratchpadSave | IReq_ControllerNativeSessionIntelligenceAsk | IReq_ControllerNativeSessionPermissionReply | IReq_ControllerNativeSessionQuestionReply | IReq_ControllerNativeSessionElicitationReply | IReq_ControllerUsageWatch | IReq_ControllerUsageUnwatch | IReq_ControllerSystemMetrics | IReq_ControllerSystemMetricsHistory | IReq_ControllerFailureDetailGet | IReq_ControllerAuthState | IReq_ControllerSetupBegin | IReq_ControllerSetupFinish | IReq_ControllerAuthenticationBegin | IReq_ControllerAuthenticationFinish | IReq_ControllerTempPasswordLogin | IReq_ControllerAuthResume | IReq_ControllerAuthHandoff | IReq_ControllerAuthSignout | IReq_ControllerProjectList | IReq_ControllerProjectCreate | IReq_ControllerProjectRemove | IReq_ControllerProjectRemovalRetry | IReq_ControllerProjectAgentMessagesUpdate | IReq_ControllerProjectSuggest | IReq_ControllerProviderConnectionList | IReq_ControllerProviderModelRefreshBegin | IReq_ControllerProviderModelRefreshGet | IReq_ControllerSlashList | IReq_ControllerSlashExecute | IReq_ControllerModelList | IReq_ControllerSettingsGet | IReq_ControllerSettingsUpdate | IReq_ControllerConversationList | IReq_ControllerConversationSearch | IReq_ControllerConversationOpen | IReq_ControllerConversationArchive | IReq_ControllerConversationReopen | IReq_ControllerSessionGet | IReq_ControllerSessionChildGet | IReq_ControllerSessionChildStatusGet | IReq_ControllerFlexChildGet | IReq_ControllerCodexChildGet | IReq_ControllerSessionChildMessagesPage | IReq_ControllerSessionChildMessageGet | IReq_ControllerSessionChildPermissionReply | IReq_ControllerSessionChildQuestionReply | IReq_ControllerSessionAuxiliaryGet | IReq_ControllerSessionModelUpdate | IReq_ControllerSessionScratchpadSave | IReq_ControllerSessionIntelligenceAsk | IReq_ControllerSessionMessagesPage | IReq_ControllerSessionMessageGet | IReq_ControllerSessionCreate | IReq_ControllerSessionDelete | IReq_ControllerSessionDiscardEmpty | IReq_ControllerSessionDraftGet | IReq_ControllerSessionDraftUpdate | IReq_ControllerSessionSend | import('./codex.js').IReq_ControllerCodexRestart | import('./codex.js').IReq_ControllerCodexWriterUpdate | import('./codex.js').IReq_ControllerCodexModeUpdate | import('./codex.js').IReq_ControllerCodexProfilesList | import('./codex.js').IReq_ControllerCodexAccountProfile | import('./codex.js').IReq_ControllerCodexProfileCreate | import('./codex.js').IReq_ControllerCodexProfileUpdate | import('./codex.js').IReq_ControllerCodexProfileTest | import('./codex.js').IReq_ControllerCodexMappingUpdate | import('./codex.js').IReq_ControllerCodexThreadsList | import('./codex.js').IReq_ControllerCodexThreadEnroll | IReq_ControllerSessionAbort | IReq_ControllerSessionHarnessRestart | IReq_ControllerSessionCompactionUpdate | IReq_ControllerSessionLimitResumeUpdate | IReq_ControllerSessionPromptQueueRelease | IReq_ControllerSessionHeldPromptRelease | IReq_ControllerSessionPendingPromptAction | IReq_ControllerPermissionReply | IReq_ControllerQuestionReply | IReq_ControllerElicitationReply | IReq_ControllerSessionRename | IReq_ControllerSessionArchive | IReq_ControllerSessionGroupsGet | IReq_ControllerSessionGroupsUpdate | IReq_ControllerSessionYolo | IReq_ControllerResourceList | IReq_ControllerResourceCreate | IReq_ControllerResourceRename | IReq_ControllerResourceAttach | IReq_ControllerResourceDetach | IReq_ControllerResourceRetire | IReq_ControllerResourceStart | IReq_ControllerResourceStop | IReq_ControllerBrowserViewOpen | IReq_ControllerBrowserViewActivate | IReq_ControllerBrowserViewRecover | IReq_ControllerBrowserViewClose | IReq_ControllerBrowserDevToolsOpen | IReq_ControllerBrowserDevToolsClose | IReq_ControllerBrowserPaintOpen | IReq_ControllerBrowserPaintClose | IReq_ControllerBrowserAudioOpen | IReq_ControllerBrowserAudioClose | IReq_ControllerBrowserPaintRearm | IReq_ControllerBrowserAssetsGet | IReq_ControllerBrowserPaintVideoRouteOpen | IReq_ControllerTerminalList | IReq_ControllerTerminalCreate | IReq_ControllerTerminalRename | IReq_ControllerTerminalRemove | IReq_ControllerTerminalAttach | IReq_ControllerTerminalDetach | IReq_ControllerTerminalInput | IReq_ControllerTerminalResize | IReq_ControllerWorkspaceList | IReq_ControllerWorkspaceStat | IReq_ControllerWorkspaceRead | IReq_ControllerWorkspaceWrite | IReq_ControllerWorkspaceMkdir | IReq_ControllerWorkspaceRemove | IReq_ControllerWorkspaceRename | IReq_ControllerWorkspaceCopy | IReq_ControllerWorkspaceWatch | IReq_ControllerWorkspaceUnwatch | IReq_ControllerWorkspaceBaseSet | IReq_ControllerTerminalOutput | IReq_ControllerTerminalDetached | IReq_ControllerWorkspaceChanged | IReq_ControllerAccountsSnapshot | IReq_ControllerAccountsRename | IReq_ControllerAccountsMaxUsage | IReq_ControllerAccountsReserveLift | IReq_ControllerAccountsApiKeyAdd | IReq_ControllerAccountsSpendLimit | IReq_ControllerAccountsClaudeCode | IReq_ControllerAccountsRenewal | IReq_ControllerAccountsPriority | IReq_ControllerAccountsPause | IReq_ControllerAccountsRemove | IReq_ControllerAccountsAdd | IReq_ControllerAccountsReauth | IReq_ControllerAccountsOperationGet | IReq_ControllerAccountsOperationCancel | IReq_ControllerAccountsUsageGet | IReq_ControllerAccountsUsageRecheck | IReq_ControllerAccountsPreuseStart | IReq_ControllerAccountsPreuseGet | IReq_ControllerAccountsPreuseCancel | IReq_ControllerAccountsDoctorGet | IReq_ControllerAccountsClaudeSignInStart | IReq_ControllerAccountsClaudeSignInGet | IReq_ControllerAccountsClaudeSignInCancel | IReq_ControllerAccountsClaudeHostGet | IReq_ControllerAccountsClaudeRelease | IReq_ControllerAccountsClaudeReleaseGet | IReq_ControllerAccountsClaudeRepair | IReq_ControllerCodexAccountUse | IReq_ControllerAccountsCodexRelease | IReq_ControllerAccountsCodexAdopt | IReq_ControllerDevicesList | IReq_ControllerDevicesPairingBegin | IReq_ControllerDevicesPairingCancel | IReq_ControllerDevicesRevoke | IReq_ControllerInboxList | import('./requests.tickets.js').TControllerTicketTypedRequest | IReq_ControllerEvent | IReq_ControllerSessionChildEvent;
|
|
@@ -18,4 +18,4 @@ export * from './requests.browser.js';
|
|
|
18
18
|
export * from './requests.terminal.js';
|
|
19
19
|
export * from './requests.workspace.js';
|
|
20
20
|
export * from './requests.events.js';
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWVzdHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL3JlcXVlc3RzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQThOQSxvRkFBb0Y7QUFDcEYsbUVBQW1FO0FBQ25FLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNCQUFzQixDQUFDIn0=
|
|
@@ -92,6 +92,9 @@ export class FlexHarnessV3MigrationRunner {
|
|
|
92
92
|
if (!await hasCompletedFlexV3Migration(this.store, storageKey)) {
|
|
93
93
|
const legacySnapshot = await loadLegacyFlexSnapshot(this.store, storageKey);
|
|
94
94
|
if (legacySnapshot) {
|
|
95
|
+
// A migration is not a recovery-aware writer: every write it makes of this namespace, in
|
|
96
|
+
// every domain, counts as unknown, so the next preparation qualifies the namespace again.
|
|
97
|
+
this.store.scopeRecovery.deactivateWriteProvenance(storageKey);
|
|
95
98
|
await plugins.flexharnessMigration.migrateLegacyFlexHarnessSnapshot(storageKey, legacySnapshot, migrationStores);
|
|
96
99
|
await completeFlexV3Migration(this.store, storageKey);
|
|
97
100
|
}
|
|
@@ -99,4 +102,4 @@ export class FlexHarnessV3MigrationRunner {
|
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
104
|
}
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
105
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidjEwX2ZsZXhoYXJuZXNzdjNtaWdyYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19taWdyYXRpb24vdjEwX2ZsZXhoYXJuZXNzdjNtaWdyYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxjQUFjLENBQUM7QUFFeEMsT0FBTyxFQUNMLGFBQWEsRUFHYixzQkFBc0IsRUFDdEIsZUFBZSxHQUNoQixNQUFNLHFDQUFxQyxDQUFDO0FBQzdDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQU1oRSx1RkFBdUY7QUFDdkYsTUFBTSxjQUFjLEdBQUcsS0FBSyxFQUFFLE9BQTJCLEVBQXFDLEVBQUU7SUFDOUYsTUFBTSxVQUFVLEdBQUcsVUFBVSxDQUFDLE9BQU8sQ0FBQyxZQUFZLEVBQUUsT0FBTyxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBQ3hFLE1BQU0sSUFBSSxHQUFHLE1BQU0sYUFBYSxDQUFDLEtBQUssQ0FBQyxhQUFhLENBQUMsRUFBRSxFQUFFLEVBQUUsVUFBVSxFQUFFLENBQUMsQ0FBQztJQUN6RSxJQUFJLENBQUMsSUFBSTtRQUFFLE9BQU8sSUFBSSxDQUFDO0lBQ3ZCLE1BQU0sSUFBSSxHQUFzQjtRQUM5QixFQUFFLEVBQUUsSUFBSSxDQUFDLEVBQ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HNCQUFzQixDQUFDLElBQUksQ0FBQyxLQUFLLEVBQUUsVUFBVSxDQUFDLENBQUM7Z0JBQzVFLElBQUksY0FBYyxFQUFFLENBQUM7b0JBQ25CLHlGQUF5RjtvQkFDekYsMEZBQTBGO29CQUMxRixJQUFJLENBQUMsS0FBSyxDQUFDLGFBQWEsQ0FBQyx5QkFBeUIsQ0FBQyxVQUFVLENBQUMsQ0FBQztvQkFDL0QsTUFBTSxPQUFPLENBQUMsb0JBQW9CLENBQUMsZ0NBQWdDLENBQ2pFLFVBQVUsRUFDVixjQUFjLEVBQ2QsZUFBZSxDQUNoQixDQUFDO29CQUNGLE1BQU0sdUJBQXVCLENBQUMsSUFBSSxDQUFDLEtBQUssRUFBRSxVQUFVLENBQUMsQ0FBQztnQkFDeEQsQ0FBQztZQUNILENBQUM7UUFDSCxDQUFDO0lBQ0gsQ0FBQztDQUNGIn0=
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Embedded NoSQLDB 11 migration
|
|
2
|
+
|
|
3
|
+
AGL consumes `@lossless.org/nosqldb` 11.1.2 and `@lossless.org/client` 2.12.0. Engine lifecycle uses the engine package; normal database access uses only the client's document models.
|
|
4
|
+
|
|
5
|
+
## Roots and ownership
|
|
6
|
+
|
|
7
|
+
| Owner | Root | Application data |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Controller | `<AGL home>/nosqldb` | Controller authentication/configuration, pending input and Flex snapshots/projections |
|
|
10
|
+
| Inference proxy | `<AGL home>/proxy/nosqldb` | Proxy identity, sealed credentials, leases, placements, usage and spend |
|
|
11
|
+
| Account authority | `<XDG_DATA_HOME>/authswitch/authority` (default `~/.local/share/authswitch/authority`) | Accounts, grants, bindings and authority journals |
|
|
12
|
+
|
|
13
|
+
The controller and its Flex child share one serving controller engine. Other AGL processes can attach to its deterministic private socket; they do not open a second engine on its root. The proxy requires exclusive engine ownership. The authority owns its separate engine. Models and application migrations initialize only after engine startup succeeds.
|
|
14
|
+
|
|
15
|
+
These AGL constructors do not enable native NoSQLDB authentication or use engine allocation/fencing APIs. AGL account/passkey/grant records are application documents, not native NoSQLDB users. That does **not** establish the history or recoverability of an installed root: inspect that stopped root before considering a copy or recovery.
|
|
16
|
+
|
|
17
|
+
## One-way format boundary
|
|
18
|
+
|
|
19
|
+
On first start, 11.1.2 converts a supported 10.x root in its original place into format 3. It records progress in `.nosqldb-conversion`, builds and verifies the new store before removing old-format entries, and resumes an interrupted conversion on the next 11 start. A successful conversion leaves `.nosqldb-control` and `.nosqldb-store`.
|
|
20
|
+
|
|
21
|
+
**10.8.0 cannot open the converted root.** Its observed refusal is `NoSQLDB MVCC startup rejects foreign, mixed or migration staging storage`. Restarting an old AGL binary against that same root is not rollback, even when its application models would accept the documents.
|
|
22
|
+
|
|
23
|
+
Owner decision 2026-11-18: one-way upgrades are generally acceptable, so this conversion replaces the former 41.1.0 same-root rollback floor (AGL-825). Application-document compatibility and engine-file compatibility are separate guarantees; neither lets an older AGL open a converted root.
|
|
24
|
+
|
|
25
|
+
## Recovery is conditional, not plain file restore
|
|
26
|
+
|
|
27
|
+
A stopped copy retains its old path/inode binding. Copying it into another directory, or back into its original path with another inode, does not make it startable.
|
|
28
|
+
|
|
29
|
+
The disposable recovery test qualifies this route only for an authority-free 10.8.0 root:
|
|
30
|
+
|
|
31
|
+
1. Stop its sole engine cleanly and keep it stopped throughout the copy.
|
|
32
|
+
2. Audit the stopped source using the published 10.8.0 engine and retain its identity/content pins separately.
|
|
33
|
+
3. Copy the stopped root into a private destination. Audit the copy; it must be eligible for alignment, with no native auth users or authority history.
|
|
34
|
+
4. Use the published `alignStoppedStorageRoot` API with the 10.8.0 executable, `identityPolicy: 'fork'`, the source pins, an external receipt in a private parent, and the truthful lineage-wide `attestLineageNeverFenced` attestation. Pins and `acknowledgeUnverifiedCopy` are alternatives, never both.
|
|
35
|
+
5. Keep the receipt. Only after alignment may the old engine open that copy. Application-version compatibility remains a separate check.
|
|
36
|
+
|
|
37
|
+
This creates an independent provider; it does not duplicate or transfer native authority. A native-authenticated copy was audited as `bindingState: 'foreign'`, `AUTH_USERS_PRESENT`, and ineligible; alignment refused it with `UNSUPPORTED`. Native fencing/authority history also disqualifies the general copy route under the published contract. Do not start 11 on such a copied 10.x root: it can convert/remove the old entries before rejecting the foreign binding, leaving no supported startable copy.
|
|
38
|
+
|
|
39
|
+
There is no AGL restore/export/import shim. No rollback from the converted root to the earlier engine has been qualified. A supported in-place conversion does not establish that an arbitrary imported, copied, fenced or authenticated root can migrate or be restored.
|
|
40
|
+
|
|
41
|
+
## Qualification
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
env -u AGL_HOME pnpm exec tsrepo test 'test/test.nosqldb11{migration,lifecycle}.node.ts' --verbose --logfile --timeout 240
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Tests fetch only the integrity-pinned published 10.8.0 executable into `.nogit/test-cache/`; all database roots and homes are disposable. No engine source, live root or installed service is accessed.
|
|
48
|
+
|
|
49
|
+
The migration suite exercises actual AGL store APIs under 10.8.0, then 11.1.2 on those same roots: controller identity/configuration; never-dispatched, unconfirmed-dispatch and explicitly held pending input; split Flex snapshot bytes and declared indexes; proxy identity, credential digests and usage; authority account/grant transactions, generation, metadata and events. It compares the application state, restarts again, and separately proves old-engine refusal without changing the converted root's audit. It kills the test's owned engine after the conversion marker appears and verifies successful resume with the same state. It also tests old/new exclusive ownership, cancelled startup, conditional old-format backup recovery and refusal of a native-authenticated backup.
|
|
50
|
+
|
|
51
|
+
The lifecycle suite kills only its disposable owned engines through their public process IDs. Both AGL engine owners must reject an unclean stop result, retain retryable cleanup, and reopen their roots after cleanup. NoSQLDB 11 resolves `stop()` after confirmed forced termination as well as after a graceful exit; only `result.clean` proves the latter. The controller and authority no longer treat every resolved stop as a successful drain, and authority startup preserves cleanup failures alongside the original error.
|
|
52
|
+
|
|
53
|
+
Concurrent initialization (`test/test.nosqldb11concurrentinit.node.ts`): four attaching processes initialize every AGL collection of a fresh database at one barrier (the auth store as `withControllerAuthStore` attaches, `FlexStore.init`, the Flex projection reader, the configuration authority). The qualification run on 2026-11-18 did 30 rounds per engine, 480 initializations each, with no failure and collections, indexes and seeded documents equal to one uncontended attach on 11.1.2 and on 10.8.0; the suite keeps 8 rounds per engine. AGL never prepares collections in `ensureCompatible` mode, the client path that fails on 11.1.2 when two connections create one new collection (`Created collection is not observable.`, engine AGL-2173, client AGL-2174).
|
|
54
|
+
|
|
55
|
+
Query plans: on 11.1.2 a Flex orphan-scan page that resumes inside a tie of `createdAt` examines one key more than on 10.8.0 (131 for a page of 128); it still reads about one page and never sorts (`test/test.flexorphanindexmigration.node.ts`).
|
|
56
|
+
|
|
57
|
+
Not qualified by these tests: exhausted-filesystem `CAPACITY` admission, conversion of imported 10.x databases, arbitrary existing root histories, or a running 41.1.0 application reading new application documents. Disk admission and imported-root restrictions are documented by the engine, not inferred from the passing ordinary fixtures. No test injects an unsupported engine seam or adds a production fallback.
|
|
58
|
+
|
|
59
|
+
Published contracts: [NoSQLDB](https://www.npmjs.com/package/@lossless.org/nosqldb), [registry readme](https://registry.npmjs.org/%40lossless.org%2Fnosqldb), [client](https://www.npmjs.com/package/@lossless.org/client).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agl",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "44.0.1",
|
|
4
4
|
"controllerUpgradeManagementVersion": 2,
|
|
5
5
|
"controllerManagementProtocolVersion": 1,
|
|
6
6
|
"controllerGatewaySourcesVersion": 1,
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
"@api.global/typedsocket": "^10.0.1",
|
|
31
31
|
"@apiclient.xyz/docker": "^12.0.0",
|
|
32
32
|
"@aws-sdk/client-s3": "^3.1136.0",
|
|
33
|
-
"@design.estate/dees-catalog": "24.
|
|
33
|
+
"@design.estate/dees-catalog": "24.7.0",
|
|
34
34
|
"@design.estate/dees-comms": "^2.1.0",
|
|
35
35
|
"@design.estate/dees-element": "4.0.2",
|
|
36
36
|
"@jitl/quickjs-ng-wasmfile-release-sync": "0.32.0",
|
|
37
|
-
"@lossless.org/client": "^2.
|
|
38
|
-
"@lossless.org/nosqldb": "
|
|
37
|
+
"@lossless.org/client": "^2.12.0",
|
|
38
|
+
"@lossless.org/nosqldb": "11.1.2",
|
|
39
39
|
"@lossless.org/objectstorage": "10.7.1",
|
|
40
40
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
41
41
|
"@modelprofile.com/catalog": "^1.1.0",
|
|
42
|
-
"@modelprofile.com/flexharness": "18.1
|
|
43
|
-
"@modelprofile.com/flexharness-agent": "18.1
|
|
44
|
-
"@modelprofile.com/flexharness-models": "18.1
|
|
45
|
-
"@modelprofile.com/flexharness-providers": "18.1
|
|
42
|
+
"@modelprofile.com/flexharness": "18.3.1",
|
|
43
|
+
"@modelprofile.com/flexharness-agent": "18.3.1",
|
|
44
|
+
"@modelprofile.com/flexharness-models": "18.3.1",
|
|
45
|
+
"@modelprofile.com/flexharness-providers": "18.3.1",
|
|
46
46
|
"@modelprofile.com/mcp-crossharness": "5.9.0",
|
|
47
47
|
"@modelprofile.com/mcp-system": "3.1.0",
|
|
48
48
|
"@opencode-ai/sdk": "1.18.15",
|
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
"dist_ts_authswitch/**/*",
|
|
124
124
|
"dist_ts_authswitch_signin/**/*",
|
|
125
125
|
"openai-codex-license.txt",
|
|
126
|
-
"docs/authswitch.md"
|
|
126
|
+
"docs/authswitch.md",
|
|
127
|
+
"docs/nosqldb11-migration.md"
|
|
127
128
|
],
|
|
128
129
|
"browserslist": [
|
|
129
130
|
"last 1 chrome versions"
|
package/readme.md
CHANGED
|
@@ -3027,7 +3027,7 @@ Agents and commands can set `targets` to limit where they appear and `harnessIns
|
|
|
3027
3027
|
|
|
3028
3028
|
#### Authoring the master from the command line
|
|
3029
3029
|
|
|
3030
|
-
`agl config` trusts the local OS user as the owner, exactly as `agl temp-password` does. With no `AGL_CONFIG_OWNER_TOKEN` set, it uses the same upgrade admission and controller auth-store access as that command to attach to the controller database and mint a short-lived configuration capability. It passes the capability to the running controller privately, revokes it when the command ends, and never prints it. The controller must be running, and the CLI must use its `AGL_HOME` and database environment. The audit trail records every local configuration request, including reads, as `local_cli`, with the OS username, uid where available, pid, parent pid and parent process name where available; master revisions, projections and apply history also retain the local CLI attribution. Same-user processes, including agents, are trusted and can use this path without the owner's passkey.
|
|
3030
|
+
`agl config` trusts the local OS user as the owner, exactly as `agl temp-password` does. With no `AGL_CONFIG_OWNER_TOKEN` set, it uses the same upgrade admission and controller auth-store access as that command to attach to the controller database and mint a short-lived configuration capability. A command attached to the running controller's database never writes projects, session locators or managed sessions; only the controller process that owns the database engine writes them, and such a write is refused with `not_database_owner`. It passes the capability to the running controller privately, revokes it when the command ends, and never prints it. The controller must be running, and the CLI must use its `AGL_HOME` and database environment. The audit trail records every local configuration request, including reads, as `local_cli`, with the OS username, uid where available, pid, parent pid and parent process name where available; master revisions, projections and apply history also retain the local CLI attribution. Same-user processes, including agents, are trusted and can use this path without the owner's passkey.
|
|
3031
3031
|
|
|
3032
3032
|
```sh
|
|
3033
3033
|
agl config inference get
|
|
@@ -3253,6 +3253,8 @@ A message sent while a conversation's turn runs is delivered one of three ways (
|
|
|
3253
3253
|
- `next-turn`, OpenCode's main action (**Send**, "Read after this turn"), since OpenCode reads messages only between turns: the message is the next turn's input, ahead of messages queued for after the turn. OpenCode refuses `steer`.
|
|
3254
3254
|
- `queue`, **Queue** ("Queue for after this turn", Alt+Enter) beside the main action: the message runs as its own turn after every earlier message. MCP `session_send` and a send without `delivery` queue. MCP `session_message` takes its delivery from the caller.
|
|
3255
3255
|
|
|
3256
|
+
In the browser a Flex message is admitted durably the moment you send it (`controller.flex.submission.admit`): the controller commits it under its own message id before any native work and answers with a receipt; `controller.flex.submission.get` reads that receipt back by the same id, and answers `project_not_found` once the project is being removed. Sending the same id again answers the same receipt; different text under that id is refused (`invalid_request`). Admission does not wait while Flex reconciles or prepares a project; the message is dispatched when the project is ready. The browser sends a refused message again, under its id and unchanged, only when the controller proved nothing was admitted for a passing reason (`flex_not_ready`, `operation_limit`), at most three times; a message whose admission is unknown, or that was in flight when the connection dropped, is checked by its receipt and never sent again.
|
|
3257
|
+
|
|
3256
3258
|
`controller.session.send` answers once the turn it starts is the conversation's status: a list read after the answer never shows the conversation idle before that turn ran (an OpenCode send waits for OpenCode to report the turn it dispatched). A message that waits behind a running turn or a held queue starts no turn yet, and the answer says so with `queued: true`.
|
|
3257
3259
|
|
|
3258
3260
|
Next-turn messages, and steers that became the next turn's input, wait ahead of queued ones, each group in the order it was sent. A message the conversation has not taken in stays under the transcript's **Pending** divider and says where it stands (`IControllerPendingPrompt.state`): **Steering · read at the next step**, **Queued for the next turn**, **Delivery unconfirmed**, or **Held · not sent**.
|
|
@@ -3742,6 +3744,8 @@ The upgrade worker:
|
|
|
3742
3744
|
- Preserves its transaction across worker or controller failure.
|
|
3743
3745
|
- Reads the controller's status, prepares it and finalizes it through the controller's loopback management endpoint (an HTTP `POST` of one TypedRequest to `/management/typedrequest` on the controller's port, addressed to `127.0.0.1:<port>`), never through the browser's WebSocket, so the worker of one release finalizes the controller of the next whatever transport that release's browser speaks. `agl status` and `agl upgrade` read their own release's controller the same way. The endpoint is used only for a controller that declares it: before the controller runs, by `controllerManagementProtocolVersion` in the `package.json` of the installed release that starts it, and once it runs, by `managementProtocolVersion` in its status. A controller that declares neither, as every release before the endpoint, is refused by name and never reached over its controller socket, which since 42 serves only the browser's status read. Nothing is tried over one transport and then the other.
|
|
3744
3746
|
|
|
3747
|
+
After the upgrade that brings session-local Flex loading, the Flex runtime prepares each project once with a complete load and repair of its conversations, in the background: the controller and every other project are usable meanwhile, a message to a project being prepared waits until it is ready, and a large project can take tens of seconds. The controller log names each project prepared this way (`Flex project qualified`). Later starts read only the conversations a request uses; a new project is prepared the same way once, at its first start.
|
|
3748
|
+
|
|
3745
3749
|
**AGL 41.0.x or older must upgrade to 41.1.x before 42.** AGL 42 manages a controller only through the loopback management endpoint, which 41.1.0 added, and its controller no longer speaks TypedSocket 8, the only way an upgrade worker of 41.0.x or older reaches the controller it starts. Run `agl upgrade` while 41.1.x is the latest release, then upgrade again. Once 42 is the latest release, upgrade a 41.0.x or older controller while it is stopped: `agl stop --port 4097` with its own release, then `agl upgrade --port 4097` and `agl start --port 4097`. AGL 42 refuses to manage an older controller: `agl status`, `stop`, `start`, `restart`, `upgrade` and `service install` say "AGL 41.0.x or older must upgrade to 41.1.x before 42" instead of reporting no controller, and name the release (`agl@41.0.3`) when its package or an upgrade transaction names it, or else call it a controller older than 41.1.0 on its port. They say so only when the process listening on the port runs an installed AGL package's controller (on Linux and macOS); any other program on the port is reported as a busy port. A recovery that restores such a release leaves it installed and its controller stopped, with the upgrade transaction open; the next `agl upgrade --port 4097`, now of that release, starts it and finishes the recovery.
|
|
3746
3750
|
|
|
3747
3751
|
The cohort is every conversation with an AGL prompt that is queued or still running when the upgrade starts. AGL seals prompt admission, so no new message is accepted and no queue starts a turn, and stops each of them, as **Stop** does:
|
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -4274,6 +4274,39 @@ export const AGL_API_SURFACE: plugins.flexTypedRequest.IFlexTypedRequestSurface
|
|
|
4274
4274
|
"schema": {
|
|
4275
4275
|
"type": "object",
|
|
4276
4276
|
"properties": {
|
|
4277
|
+
"sessionIdentityId": {
|
|
4278
|
+
"type": "string",
|
|
4279
|
+
"description": "Exact managed Flex identity for immutable admission, supplied without a transcript generation read."
|
|
4280
|
+
},
|
|
4281
|
+
"flexAdmission": {
|
|
4282
|
+
"type": "object",
|
|
4283
|
+
"properties": {
|
|
4284
|
+
"clientConversationId": {
|
|
4285
|
+
"type": "string"
|
|
4286
|
+
},
|
|
4287
|
+
"creation": {
|
|
4288
|
+
"type": "string",
|
|
4289
|
+
"enum": [
|
|
4290
|
+
"pending",
|
|
4291
|
+
"ready",
|
|
4292
|
+
"uncertain",
|
|
4293
|
+
"retired"
|
|
4294
|
+
]
|
|
4295
|
+
},
|
|
4296
|
+
"sessionGenerationId": {
|
|
4297
|
+
"type": "string"
|
|
4298
|
+
},
|
|
4299
|
+
"sessionGenerationSequence": {
|
|
4300
|
+
"type": "number"
|
|
4301
|
+
}
|
|
4302
|
+
},
|
|
4303
|
+
"required": [
|
|
4304
|
+
"creation",
|
|
4305
|
+
"sessionGenerationId"
|
|
4306
|
+
],
|
|
4307
|
+
"additionalProperties": false,
|
|
4308
|
+
"description": "Controller-owned conversation intent, discoverable before native materialization."
|
|
4309
|
+
},
|
|
4277
4310
|
"id": {
|
|
4278
4311
|
"$ref": "#/$defs/IControllerRuntimeId"
|
|
4279
4312
|
},
|
|
@@ -4334,7 +4367,7 @@ export const AGL_API_SURFACE: plugins.flexTypedRequest.IFlexTypedRequestSurface
|
|
|
4334
4367
|
],
|
|
4335
4368
|
"additionalProperties": false
|
|
4336
4369
|
},
|
|
4337
|
-
"declaration": "interface IControllerSession {\n id: IControllerRuntimeId;\n title: string;\n parentId?: IControllerRuntimeId;\n createdAt: number;\n updatedAt: number;\n /** Unix milliseconds when the session was archived in OpenCode; absent for active sessions. */\n archivedAt?: number;\n status: TControllerSessionStatus;\n /** Bounded native writer state for Codex sidebar rows. */\n codexActivity?: IControllerCodexActivitySummary;\n /** True while OpenCode has a pending permission or question for this session. */\n attention?: boolean;\n /**\n * Set while the harness signals that the session waits for a person in its own client (Codex, Claude Code), which\n * it does only while the session is busy. Absent is no proof that nothing waits: a harness does not signal every wait.\n */\n nativeWait?: IControllerNativeWait;\n /** Why the last run failed, while the session reports that failure (Flex). */\n error?: IControllerSessionError;\n /** Set while the running prompt waits to call the model again (Flex). */\n retrying?: IControllerSessionRetrying;\n /** Set while a provider limit holds the session's queued prompts (Flex). */\n promptQueueHold?: IControllerPromptQueueHold;\n /** Present only on the controller-owned driver session, which no session list shows. */\n role?: TControllerSessionRole;\n}"
|
|
4370
|
+
"declaration": "interface IControllerSession {\n /** Exact managed Flex identity for immutable admission, supplied without a transcript generation read. */\n sessionIdentityId?: string;\n /** Controller-owned conversation intent, discoverable before native materialization. */\n flexAdmission?: {\n clientConversationId?: string;\n creation: 'pending' | 'ready' | 'uncertain' | 'retired';\n sessionGenerationId: string;\n sessionGenerationSequence?: number;\n };\n id: IControllerRuntimeId;\n title: string;\n parentId?: IControllerRuntimeId;\n createdAt: number;\n updatedAt: number;\n /** Unix milliseconds when the session was archived in OpenCode; absent for active sessions. */\n archivedAt?: number;\n status: TControllerSessionStatus;\n /** Bounded native writer state for Codex sidebar rows. */\n codexActivity?: IControllerCodexActivitySummary;\n /** True while OpenCode has a pending permission or question for this session. */\n attention?: boolean;\n /**\n * Set while the harness signals that the session waits for a person in its own client (Codex, Claude Code), which\n * it does only while the session is busy. Absent is no proof that nothing waits: a harness does not signal every wait.\n */\n nativeWait?: IControllerNativeWait;\n /** Why the last run failed, while the session reports that failure (Flex). */\n error?: IControllerSessionError;\n /** Set while the running prompt waits to call the model again (Flex). */\n retrying?: IControllerSessionRetrying;\n /** Set while a provider limit holds the session's queued prompts (Flex). */\n promptQueueHold?: IControllerPromptQueueHold;\n /** Present only on the controller-owned driver session, which no session list shows. */\n role?: TControllerSessionRole;\n}"
|
|
4338
4371
|
},
|
|
4339
4372
|
{
|
|
4340
4373
|
"name": "IControllerSessionDetail",
|
|
@@ -4534,7 +4567,7 @@ export const AGL_API_SURFACE: plugins.flexTypedRequest.IFlexTypedRequestSurface
|
|
|
4534
4567
|
},
|
|
4535
4568
|
"protocolVersion": {
|
|
4536
4569
|
"type": "number",
|
|
4537
|
-
"const":
|
|
4570
|
+
"const": 54
|
|
4538
4571
|
},
|
|
4539
4572
|
"upgradeManagementVersion": {
|
|
4540
4573
|
"type": "number"
|
|
@@ -4660,7 +4693,7 @@ export const AGL_API_SURFACE: plugins.flexTypedRequest.IFlexTypedRequestSurface
|
|
|
4660
4693
|
],
|
|
4661
4694
|
"additionalProperties": false
|
|
4662
4695
|
},
|
|
4663
|
-
"declaration": "interface IControllerStatus {\n packageName: string;\n packageVersion: string;\n protocolVersion:
|
|
4696
|
+
"declaration": "interface IControllerStatus {\n packageName: string;\n packageVersion: string;\n protocolVersion: 54;\n upgradeManagementVersion: number;\n /**\n * The protocol of the controller's loopback management endpoint (`controllerManagementProtocolVersion`); absent\n * from a controller older than the endpoint, which this release refuses to manage.\n */\n managementProtocolVersion?: number;\n controllerPid: number;\n processGroupId: number;\n processFingerprint: string;\n processMode: TControllerProcessMode;\n lifecycleState: TControllerLifecycleState;\n startedAt: number;\n setupRequired: boolean;\n /** Present when the controller runs as the systemd user unit (`agl service install`); absent for a detached or foreground one. */\n serviceUnit?: \"agl-controller.service\";\n /** The TLS mode of the runtime configuration the controller runs with; absent until it is resolved. */\n tlsMode?: TControllerTlsMode;\n upgrade?: IControllerUpgradeStatus;\n /** AGL's inference proxy, by state only; details need a signed-in owner (`controller.proxy.status.get`). */\n proxy?: { state: TControllerProxyState };\n harnesses: Array<{\n harnessId: TControllerSessionHarnessId;\n pid?: number;\n state: TControllerHarnessLifecycleState;\n healthy: boolean;\n version?: string;\n supportsLocalAttachments?: boolean;\n connectionMode?: 'local' | 'shared' | 'remote';\n diagnostic?: IControllerCodexDiagnostic;\n /** Codex only: automatic reconnection of this entry's profile to the local shared app-server. */\n rejoin?: IControllerCodexRejoinStatus;\n /**\n * Codex only, on the controller status: every connected or required profile. The entry's\n * `healthy` is then true only when each of them is, apart from a profile on an account Codex\n * cannot run on now, listed `stopped` with an `account_unavailable` diagnostic that says why;\n * its other members describe the default profile.\n */\n profiles?: IControllerCodexProfileStatus[];\n }>;\n}"
|
|
4664
4697
|
},
|
|
4665
4698
|
{
|
|
4666
4699
|
"name": "IControllerTerminalResource",
|