@ouispec/agent-core 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +1 -0
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +1 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/message-input/index.d.ts +42 -0
- package/dist/message-input/index.d.ts.map +1 -0
- package/dist/message-input/index.js +54 -0
- package/dist/message-input/index.js.map +1 -0
- package/dist/types/client-config.d.ts +30 -0
- package/dist/types/client-config.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/browser.d.ts
CHANGED
package/dist/browser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAGA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAGA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC"}
|
package/dist/browser.js
CHANGED
package/dist/browser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,wEAAwE;AACxE,yDAAyD;AACzD,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,wEAAwE;AACxE,yDAAyD;AACzD,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How the person entered a message (ADR-0259 §2.6).
|
|
3
|
+
*
|
|
4
|
+
* A message the person spoke, and the tab transcribed with speech
|
|
5
|
+
* recognition, carries `{ mode: 'voice', language }` on its turn's context,
|
|
6
|
+
* under `input`. A typed message carries nothing. The worker tells the model
|
|
7
|
+
* the message was spoken and machine-transcribed, so a word it cannot make
|
|
8
|
+
* sense of may be a mis-hearing; the host stores it on the user's message so
|
|
9
|
+
* the chat can show the message was spoken.
|
|
10
|
+
*
|
|
11
|
+
* It arrives from a browser, so every reader takes it through
|
|
12
|
+
* `readMessageInput`, which keeps only what it recognises.
|
|
13
|
+
*/
|
|
14
|
+
/** The key under a turn's context that carries how its message was entered. */
|
|
15
|
+
export declare const MESSAGE_INPUT_CONTEXT_KEY = "input";
|
|
16
|
+
/** The ways a message can be entered besides typing. A typed message carries no `input`. */
|
|
17
|
+
export declare const MESSAGE_INPUT_MODES: readonly ["voice"];
|
|
18
|
+
export type MessageInputMode = (typeof MESSAGE_INPUT_MODES)[number];
|
|
19
|
+
/** The longest language tag kept: longer is not a language a recogniser names. */
|
|
20
|
+
export declare const MAX_MESSAGE_INPUT_LANGUAGE_CHARS = 16;
|
|
21
|
+
/** A message the person spoke: the language is the one the recogniser detected. */
|
|
22
|
+
export interface MessageInput {
|
|
23
|
+
mode: MessageInputMode;
|
|
24
|
+
/**
|
|
25
|
+
* The language the recogniser detected, as a BCP 47 tag ("fr", "pt-BR").
|
|
26
|
+
* Absent when it did not say.
|
|
27
|
+
*/
|
|
28
|
+
language?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* `value` as a language tag, canonical ("pt-br" → "pt-BR"), or null when it is
|
|
32
|
+
* not one: not a string, too long, or not shaped as a tag.
|
|
33
|
+
*/
|
|
34
|
+
export declare function readMessageInputLanguage(value: unknown): string | null;
|
|
35
|
+
/**
|
|
36
|
+
* How a message was entered, when `value` says so in a way this runtime
|
|
37
|
+
* knows; else null. An unknown mode, or a value that is not an object, is
|
|
38
|
+
* null: the message is read as typed. A language that is not a language tag
|
|
39
|
+
* is left out, and the message is still read as spoken.
|
|
40
|
+
*/
|
|
41
|
+
export declare function readMessageInput(value: unknown): MessageInput | null;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/message-input/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,UAAU,CAAC;AAEjD,4FAA4F;AAC5F,eAAO,MAAM,mBAAmB,oBAAqB,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,kFAAkF;AAClF,eAAO,MAAM,gCAAgC,KAAK,CAAC;AAEnD,mFAAmF;AACnF,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAKD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAStE;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAMpE"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How the person entered a message (ADR-0259 §2.6).
|
|
3
|
+
*
|
|
4
|
+
* A message the person spoke, and the tab transcribed with speech
|
|
5
|
+
* recognition, carries `{ mode: 'voice', language }` on its turn's context,
|
|
6
|
+
* under `input`. A typed message carries nothing. The worker tells the model
|
|
7
|
+
* the message was spoken and machine-transcribed, so a word it cannot make
|
|
8
|
+
* sense of may be a mis-hearing; the host stores it on the user's message so
|
|
9
|
+
* the chat can show the message was spoken.
|
|
10
|
+
*
|
|
11
|
+
* It arrives from a browser, so every reader takes it through
|
|
12
|
+
* `readMessageInput`, which keeps only what it recognises.
|
|
13
|
+
*/
|
|
14
|
+
/** The key under a turn's context that carries how its message was entered. */
|
|
15
|
+
export const MESSAGE_INPUT_CONTEXT_KEY = 'input';
|
|
16
|
+
/** The ways a message can be entered besides typing. A typed message carries no `input`. */
|
|
17
|
+
export const MESSAGE_INPUT_MODES = ['voice'];
|
|
18
|
+
/** The longest language tag kept: longer is not a language a recogniser names. */
|
|
19
|
+
export const MAX_MESSAGE_INPUT_LANGUAGE_CHARS = 16;
|
|
20
|
+
/** A primary language subtag of 2–3 letters, then subtags of 2–8 letters or digits. */
|
|
21
|
+
const LANGUAGE_TAG = /^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/;
|
|
22
|
+
/**
|
|
23
|
+
* `value` as a language tag, canonical ("pt-br" → "pt-BR"), or null when it is
|
|
24
|
+
* not one: not a string, too long, or not shaped as a tag.
|
|
25
|
+
*/
|
|
26
|
+
export function readMessageInputLanguage(value) {
|
|
27
|
+
if (typeof value !== 'string' || value.length === 0 || value.length > MAX_MESSAGE_INPUT_LANGUAGE_CHARS)
|
|
28
|
+
return null;
|
|
29
|
+
if (!LANGUAGE_TAG.test(value))
|
|
30
|
+
return null;
|
|
31
|
+
try {
|
|
32
|
+
// Throws a RangeError for a tag that is shaped right but is not valid BCP 47.
|
|
33
|
+
return Intl.getCanonicalLocales(value)[0] ?? null;
|
|
34
|
+
}
|
|
35
|
+
catch {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* How a message was entered, when `value` says so in a way this runtime
|
|
41
|
+
* knows; else null. An unknown mode, or a value that is not an object, is
|
|
42
|
+
* null: the message is read as typed. A language that is not a language tag
|
|
43
|
+
* is left out, and the message is still read as spoken.
|
|
44
|
+
*/
|
|
45
|
+
export function readMessageInput(value) {
|
|
46
|
+
if (!value || typeof value !== 'object' || Array.isArray(value))
|
|
47
|
+
return null;
|
|
48
|
+
const { mode, language } = value;
|
|
49
|
+
if (typeof mode !== 'string' || !MESSAGE_INPUT_MODES.includes(mode))
|
|
50
|
+
return null;
|
|
51
|
+
const tag = readMessageInputLanguage(language);
|
|
52
|
+
return { mode: mode, ...(tag ? { language: tag } : {}) };
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/message-input/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,+EAA+E;AAC/E,MAAM,CAAC,MAAM,yBAAyB,GAAG,OAAO,CAAC;AAEjD,4FAA4F;AAC5F,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,OAAO,CAAU,CAAC;AAItD,kFAAkF;AAClF,MAAM,CAAC,MAAM,gCAAgC,GAAG,EAAE,CAAC;AAYnD,uFAAuF;AACvF,MAAM,YAAY,GAAG,uCAAuC,CAAC;AAE7D;;;GAGG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAAc;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,gCAAgC;QAAE,OAAO,IAAI,CAAC;IACpH,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3C,IAAI,CAAC;QACH,8EAA8E;QAC9E,OAAO,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;IACpD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAc;IAC7C,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAC7E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAgC,CAAC;IAC5D,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAE,mBAAyC,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IACxG,MAAM,GAAG,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;IAC/C,OAAO,EAAE,IAAI,EAAE,IAAwB,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;AAC/E,CAAC"}
|
|
@@ -15,6 +15,7 @@ import type { ViewAnnotationState } from './api-surface.js';
|
|
|
15
15
|
import type { ApprovalContinuation, ApprovalGrant } from '../approvals/types.js';
|
|
16
16
|
import type { TurnStoppedMarker } from '../turns/types.js';
|
|
17
17
|
import type { AttachmentLimits, AttachmentRef } from '../attachments/types.js';
|
|
18
|
+
import type { MessageInput } from '../message-input/index.js';
|
|
18
19
|
/**
|
|
19
20
|
* Context sent alongside each message. The SDK collects visible annotations
|
|
20
21
|
* and current route automatically; platforms can add custom metadata.
|
|
@@ -29,6 +30,13 @@ export interface AgentMessageContext {
|
|
|
29
30
|
* "today" and "yesterday" are the user's days, not the server's.
|
|
30
31
|
*/
|
|
31
32
|
timeZone?: string;
|
|
33
|
+
/**
|
|
34
|
+
* How the person entered this message, when it was not typed (ADR-0259
|
|
35
|
+
* §2.6): `{ mode: 'voice', language }` for a message they spoke, with the
|
|
36
|
+
* language the recogniser detected. Pass it to the worker unchanged on the
|
|
37
|
+
* turn's `context`, and store it on the user's message (`AgentStoredMessage.input`).
|
|
38
|
+
*/
|
|
39
|
+
input?: MessageInput;
|
|
32
40
|
}
|
|
33
41
|
/**
|
|
34
42
|
* The socket the SDK drives: connect and disconnect, emit (with an optional
|
|
@@ -83,6 +91,11 @@ export interface AgentConversationMatch {
|
|
|
83
91
|
/** The text around the words searched for, on one line. */
|
|
84
92
|
excerpt: string;
|
|
85
93
|
createdAt: string;
|
|
94
|
+
/**
|
|
95
|
+
* How the person entered the matched message, when they spoke it (ADR-0259
|
|
96
|
+
* §2.6), as stored on it (`AgentStoredMessage.input`). Absent or null when typed.
|
|
97
|
+
*/
|
|
98
|
+
input?: MessageInput | null;
|
|
86
99
|
}
|
|
87
100
|
/** A conversation in the user's history, as the platform lists it. */
|
|
88
101
|
export interface AgentConversationSummary {
|
|
@@ -91,6 +104,13 @@ export interface AgentConversationSummary {
|
|
|
91
104
|
title: string | null;
|
|
92
105
|
/** A short excerpt to name it by when there is no title: usually its first user message. */
|
|
93
106
|
preview?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* How the person entered the message `preview` is taken from, when they
|
|
109
|
+
* spoke it (ADR-0259 §2.6), as stored on it (`AgentStoredMessage.input`), so
|
|
110
|
+
* a list can mark a conversation that began by voice. Absent or null when
|
|
111
|
+
* that message was typed, or when there is no preview.
|
|
112
|
+
*/
|
|
113
|
+
previewInput?: MessageInput | null;
|
|
94
114
|
createdAt: string;
|
|
95
115
|
updatedAt: string;
|
|
96
116
|
/** When it last had a message; lists are ordered by it. Defaults to `updatedAt`. */
|
|
@@ -140,6 +160,11 @@ export interface AgentStoredMessage {
|
|
|
140
160
|
stopped?: TurnStoppedMarker | null;
|
|
141
161
|
/** The files the person attached to this message (ADR-0252 §2.8), by reference. */
|
|
142
162
|
attachments?: AttachmentRef[] | null;
|
|
163
|
+
/**
|
|
164
|
+
* How the person entered this message, as its turn's `context.input` carried
|
|
165
|
+
* it (ADR-0259 §2.6): set on a message they spoke. Absent or null when typed.
|
|
166
|
+
*/
|
|
167
|
+
input?: MessageInput | null;
|
|
143
168
|
}
|
|
144
169
|
/** One stored conversation, with its most recent messages in chronological order. */
|
|
145
170
|
export interface AgentStoredConversation {
|
|
@@ -178,6 +203,11 @@ export interface AgentClientConfig {
|
|
|
178
203
|
sendMessage: (params: {
|
|
179
204
|
conversationId: string;
|
|
180
205
|
content: string;
|
|
206
|
+
/**
|
|
207
|
+
* The page's context for the turn. Pass it to the worker as the turn
|
|
208
|
+
* payload's `context`. A message the person spoke carries `input` here
|
|
209
|
+
* (ADR-0259 §2.6), which the platform also stores on the user's message.
|
|
210
|
+
*/
|
|
181
211
|
context?: AgentMessageContext;
|
|
182
212
|
/**
|
|
183
213
|
* The files attached to this message, already uploaded through
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-config.d.ts","sourceRoot":"","sources":["../../src/types/client-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"client-config.d.ts","sourceRoot":"","sources":["../../src/types/client-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,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,EAAE,MAAM,GAAG,KAAK,CAAC;IAEvC;;;OAGG;IACH,QAAQ,EAAE,mBAAmB,CAAC;IAE9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,kHAAkH;IAClH,MAAM,CAAC,EAAE,gBAAgB,GAAG,CAAC,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC9D;;;;OAIG;IACH,MAAM,CACJ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,WAAW,CAAC;QAAC,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,GAChG,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1B,uDAAuD;IACvD,MAAM,CAAC,CAAC,GAAG,EAAE,aAAa,EAAE,OAAO,EAAE;QAAE,cAAc,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACjF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouispec/agent-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Schema types, entity graph, intent resolution, and protocol definitions for the agent SDK",
|
|
5
5
|
"homepage": "https://github.com/wesreid/oui/tree/main/packages/agent-core#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"ajv": "^8.17.0",
|
|
32
32
|
"yaml": "^2.7.0",
|
|
33
33
|
"@ouispec/agent-events": "^0.8.0",
|
|
34
|
-
"@ouispec/contract": "^0.4.
|
|
34
|
+
"@ouispec/contract": "^0.4.2",
|
|
35
35
|
"oui-spec": "^0.11.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|