@pellux/goodvibes-sdk 0.21.34 → 0.21.36
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/_internal/daemon/context.d.ts +1 -0
- package/dist/_internal/daemon/context.d.ts.map +1 -1
- package/dist/_internal/daemon/runtime-route-types.d.ts +5 -5
- package/dist/_internal/daemon/runtime-route-types.d.ts.map +1 -1
- package/dist/_internal/daemon/runtime-routes.d.ts +1 -1
- package/dist/_internal/daemon/runtime-routes.d.ts.map +1 -1
- package/dist/_internal/daemon/runtime-session-routes.d.ts +1 -1
- package/dist/_internal/daemon/runtime-session-routes.d.ts.map +1 -1
- package/dist/_internal/daemon/runtime-session-routes.js +54 -0
- package/dist/_internal/daemon/sessions.d.ts +1 -1
- package/dist/_internal/daemon/sessions.d.ts.map +1 -1
- package/dist/_internal/daemon/sessions.js +6 -0
- package/dist/_internal/platform/automation/manager-runtime.d.ts +2 -6
- package/dist/_internal/platform/automation/manager-runtime.d.ts.map +1 -1
- package/dist/_internal/platform/automation/manager-runtime.js +7 -8
- package/dist/_internal/platform/companion/companion-chat-routes.d.ts +1 -0
- package/dist/_internal/platform/companion/companion-chat-routes.d.ts.map +1 -1
- package/dist/_internal/platform/companion/companion-chat-routes.js +26 -0
- package/dist/_internal/platform/control-plane/gateway.d.ts.map +1 -1
- package/dist/_internal/platform/control-plane/gateway.js +5 -1
- package/dist/_internal/platform/control-plane/method-catalog-control-core.d.ts.map +1 -1
- package/dist/_internal/platform/control-plane/method-catalog-control-core.js +110 -0
- package/dist/_internal/platform/control-plane/method-catalog-runtime.js +5 -5
- package/dist/_internal/platform/control-plane/routes/sessions.d.ts +1 -1
- package/dist/_internal/platform/control-plane/routes/sessions.d.ts.map +1 -1
- package/dist/_internal/platform/control-plane/routes/sessions.js +3 -0
- package/dist/_internal/platform/daemon/http/provider-routes.d.ts +14 -2
- package/dist/_internal/platform/daemon/http/provider-routes.d.ts.map +1 -1
- package/dist/_internal/platform/daemon/http/provider-routes.js +4 -1
- package/dist/_internal/platform/daemon/http/runtime-route-types.d.ts +5 -5
- package/dist/_internal/platform/daemon/http/runtime-route-types.d.ts.map +1 -1
- package/dist/_internal/platform/pairing/companion-token.d.ts +42 -0
- package/dist/_internal/platform/pairing/companion-token.d.ts.map +1 -1
- package/dist/_internal/platform/pairing/companion-token.js +82 -1
- package/dist/_internal/platform/pairing/index.d.ts +2 -1
- package/dist/_internal/platform/pairing/index.d.ts.map +1 -1
- package/dist/_internal/platform/pairing/index.js +1 -1
- package/dist/_internal/platform/runtime/integration/helpers.d.ts.map +1 -1
- package/dist/_internal/platform/runtime/integration/helpers.js +3 -1
- package/dist/_internal/platform/version.js +1 -1
- package/package.json +1 -1
- package/dist/_internal/platform/runtime/contracts/migrations/event-envelope.d.ts +0 -23
- package/dist/_internal/platform/runtime/contracts/migrations/event-envelope.d.ts.map +0 -1
- package/dist/_internal/platform/runtime/contracts/migrations/event-envelope.js +0 -41
- package/dist/_internal/platform/runtime/contracts/migrations/plugin-manifest.d.ts +0 -23
- package/dist/_internal/platform/runtime/contracts/migrations/plugin-manifest.d.ts.map +0 -1
- package/dist/_internal/platform/runtime/contracts/migrations/plugin-manifest.js +0 -41
- package/dist/_internal/platform/runtime/contracts/migrations/runtime-state.d.ts +0 -23
- package/dist/_internal/platform/runtime/contracts/migrations/runtime-state.d.ts.map +0 -1
- package/dist/_internal/platform/runtime/contracts/migrations/runtime-state.js +0 -44
- package/dist/_internal/platform/runtime/contracts/migrations/session.d.ts +0 -23
- package/dist/_internal/platform/runtime/contracts/migrations/session.d.ts.map +0 -1
- package/dist/_internal/platform/runtime/contracts/migrations/session.js +0 -42
- package/dist/_internal/platform/runtime/contracts/migrations/task-record.d.ts +0 -23
- package/dist/_internal/platform/runtime/contracts/migrations/task-record.d.ts.map +0 -1
- package/dist/_internal/platform/runtime/contracts/migrations/task-record.js +0 -41
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compatibility Contracts — Session Migrations
|
|
3
|
-
*
|
|
4
|
-
* Migration steps for the session persistence format (messages + meta).
|
|
5
|
-
* All steps are pure functions — they do not mutate their input.
|
|
6
|
-
*
|
|
7
|
-
* @module contracts/migrations/session
|
|
8
|
-
*/
|
|
9
|
-
import { SCHEMA_VERSIONS } from '../version.js';
|
|
10
|
-
/**
|
|
11
|
-
* All registered Session migration steps.
|
|
12
|
-
*
|
|
13
|
-
* Currently empty — the schema is at its initial version (1.0.0).
|
|
14
|
-
* Future steps must be appended here and registered via the contract registry.
|
|
15
|
-
*
|
|
16
|
-
* Example: if session files gain a `tags` array in v1.1.0, a migration step
|
|
17
|
-
* would backfill it as an empty array for existing sessions.
|
|
18
|
-
*/
|
|
19
|
-
const SESSION_STEPS = [
|
|
20
|
-
// Example structure for future use:
|
|
21
|
-
// {
|
|
22
|
-
// from: { major: 1, minor: 0, patch: 0 },
|
|
23
|
-
// to: { major: 1, minor: 1, patch: 0 },
|
|
24
|
-
// description: 'Add empty tags array to session meta',
|
|
25
|
-
// migrate: (data: unknown): unknown => {
|
|
26
|
-
// const d = data as Record<string, unknown>;
|
|
27
|
-
// const meta = d['meta'] as Record<string, unknown>;
|
|
28
|
-
// return { ...d, meta: { ...meta, tags: meta['tags'] ?? [] } };
|
|
29
|
-
// },
|
|
30
|
-
// },
|
|
31
|
-
];
|
|
32
|
-
/**
|
|
33
|
-
* The current Session schema version (re-exported for convenience).
|
|
34
|
-
*/
|
|
35
|
-
export const SESSION_VERSION = SCHEMA_VERSIONS.session;
|
|
36
|
-
/**
|
|
37
|
-
* Returns all Session migration steps.
|
|
38
|
-
* Used by the contract registry during initialization.
|
|
39
|
-
*/
|
|
40
|
-
export function getSessionMigrationSteps() {
|
|
41
|
-
return SESSION_STEPS;
|
|
42
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compatibility Contracts — TaskRecord Migrations
|
|
3
|
-
*
|
|
4
|
-
* Migration steps for the RuntimeTask record schema used in task domain
|
|
5
|
-
* persistence and serialization. All steps are pure functions.
|
|
6
|
-
*
|
|
7
|
-
* @module contracts/migrations/task-record
|
|
8
|
-
*/
|
|
9
|
-
import type { MigrationStep } from '../types.js';
|
|
10
|
-
/**
|
|
11
|
-
* The current TaskRecord schema version (re-exported for convenience).
|
|
12
|
-
*/
|
|
13
|
-
export declare const TASK_RECORD_VERSION: {
|
|
14
|
-
readonly major: 1;
|
|
15
|
-
readonly minor: 0;
|
|
16
|
-
readonly patch: 0;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Returns all TaskRecord migration steps.
|
|
20
|
-
* Used by the contract registry during initialization.
|
|
21
|
-
*/
|
|
22
|
-
export declare function getTaskRecordMigrationSteps(): MigrationStep[];
|
|
23
|
-
//# sourceMappingURL=task-record.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-record.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/platform/runtime/contracts/migrations/task-record.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAyBjD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;CAA6B,CAAC;AAE9D;;;GAGG;AACH,wBAAgB,2BAA2B,IAAI,aAAa,EAAE,CAE7D"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compatibility Contracts — TaskRecord Migrations
|
|
3
|
-
*
|
|
4
|
-
* Migration steps for the RuntimeTask record schema used in task domain
|
|
5
|
-
* persistence and serialization. All steps are pure functions.
|
|
6
|
-
*
|
|
7
|
-
* @module contracts/migrations/task-record
|
|
8
|
-
*/
|
|
9
|
-
import { SCHEMA_VERSIONS } from '../version.js';
|
|
10
|
-
/**
|
|
11
|
-
* All registered TaskRecord migration steps.
|
|
12
|
-
*
|
|
13
|
-
* Currently empty — the schema is at its initial version (1.0.0).
|
|
14
|
-
* Future steps must be appended here and registered via the contract registry.
|
|
15
|
-
*
|
|
16
|
-
* Example: if `metadata` map is added to RuntimeTask in v1.1.0, a migration
|
|
17
|
-
* step would backfill it as an empty object for existing persisted records.
|
|
18
|
-
*/
|
|
19
|
-
const TASK_RECORD_STEPS = [
|
|
20
|
-
// Example structure for future use:
|
|
21
|
-
// {
|
|
22
|
-
// from: { major: 1, minor: 0, patch: 0 },
|
|
23
|
-
// to: { major: 1, minor: 1, patch: 0 },
|
|
24
|
-
// description: 'Add metadata object to task records',
|
|
25
|
-
// migrate: (data: unknown): unknown => {
|
|
26
|
-
// const d = data as Record<string, unknown>;
|
|
27
|
-
// return { ...d, metadata: d['metadata'] ?? {} };
|
|
28
|
-
// },
|
|
29
|
-
// },
|
|
30
|
-
];
|
|
31
|
-
/**
|
|
32
|
-
* The current TaskRecord schema version (re-exported for convenience).
|
|
33
|
-
*/
|
|
34
|
-
export const TASK_RECORD_VERSION = SCHEMA_VERSIONS.taskRecord;
|
|
35
|
-
/**
|
|
36
|
-
* Returns all TaskRecord migration steps.
|
|
37
|
-
* Used by the contract registry during initialization.
|
|
38
|
-
*/
|
|
39
|
-
export function getTaskRecordMigrationSteps() {
|
|
40
|
-
return TASK_RECORD_STEPS;
|
|
41
|
-
}
|