@jini-ai/agentic 0.3.0 → 0.3.6
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/core/a2ui/renderer-to-agent.d.ts +2 -2
- package/dist/core/handle.d.ts +48 -0
- package/dist/core/handle.d.ts.map +1 -1
- package/dist/core/handle.js +47 -0
- package/dist/core/handle.js.map +1 -1
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +2 -2
- package/dist/core/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -187,7 +187,6 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
|
187
187
|
actionId?: string | undefined;
|
|
188
188
|
}>;
|
|
189
189
|
}, "strict", z.ZodTypeAny, {
|
|
190
|
-
version: "v1.0";
|
|
191
190
|
action: {
|
|
192
191
|
name: string;
|
|
193
192
|
surfaceId: string;
|
|
@@ -197,8 +196,8 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
|
197
196
|
wantResponse?: boolean | undefined;
|
|
198
197
|
actionId?: string | undefined;
|
|
199
198
|
};
|
|
200
|
-
}, {
|
|
201
199
|
version: "v1.0";
|
|
200
|
+
}, {
|
|
202
201
|
action: {
|
|
203
202
|
name: string;
|
|
204
203
|
surfaceId: string;
|
|
@@ -208,6 +207,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
|
208
207
|
wantResponse?: boolean | undefined;
|
|
209
208
|
actionId?: string | undefined;
|
|
210
209
|
};
|
|
210
|
+
version: "v1.0";
|
|
211
211
|
}>;
|
|
212
212
|
export type ActionMessage = z.infer<typeof ActionMessageSchema>;
|
|
213
213
|
export declare const FunctionResponseMessageSchema: z.ZodObject<{
|
package/dist/core/handle.d.ts
CHANGED
|
@@ -38,4 +38,52 @@ export type AgentHandleProps = {
|
|
|
38
38
|
* capabilities, `resolveHandleSelector`) could not later resolve.
|
|
39
39
|
*/
|
|
40
40
|
export declare function agentHandle(handle: string, options?: AgentHandleOptions): AgentHandleProps;
|
|
41
|
+
/**
|
|
42
|
+
* The handle for one sub-element published under `base` — `<base>-<action>`.
|
|
43
|
+
*
|
|
44
|
+
* The one join rule every multi-control component under a single host-supplied base handle needs
|
|
45
|
+
* (a settings tab, a card, a form), extracted here so each such component imports it rather than
|
|
46
|
+
* re-deriving the same template literal. First established as `sourceConfigActionHandle` in
|
|
47
|
+
* `../../features/source-config-list/agent-handles.ts` before this package had a generic version —
|
|
48
|
+
* that feature's own doc comment explains the naming split this generalizes ("a host names a
|
|
49
|
+
* component; the component names its own parts").
|
|
50
|
+
*
|
|
51
|
+
* @param base - The component's own handle, as published by the host. Must already be a valid
|
|
52
|
+
* element handle — callers own that, same as every other `agentHandle()` base.
|
|
53
|
+
* @param action - The sub-element's name. Always a literal chosen by the component, never host data.
|
|
54
|
+
* @returns `<base>-<action>`.
|
|
55
|
+
* @complexity O(1).
|
|
56
|
+
*/
|
|
57
|
+
export declare function agentSubHandle(base: string, action: string): string;
|
|
58
|
+
/** What to publish about one sub-element — see {@link agentHandleProps}. */
|
|
59
|
+
export interface AgentHandlePropsOptions extends AgentHandleOptions {
|
|
60
|
+
/**
|
|
61
|
+
* The sub-element's name, appended to `base` via {@link agentSubHandle}. Omit when the element
|
|
62
|
+
* IS `base` — the component's own root.
|
|
63
|
+
*/
|
|
64
|
+
readonly action?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Builds the `data-agent-*` attribute props for one element of a component that takes a single
|
|
68
|
+
* OPTIONAL base handle from its host, or nothing at all when the host published no base.
|
|
69
|
+
*
|
|
70
|
+
* This is the seam a component with more than one agent-addressable element should use: the host
|
|
71
|
+
* hands the component ONE base handle (`agentHandle?: string` in that component's own props, named
|
|
72
|
+
* identically to this function's own `handle.ts` sibling so a caller cannot mistake which handle a
|
|
73
|
+
* component wants), and the component derives every sub-element's handle from it via `action`,
|
|
74
|
+
* exactly the "host names a component, the component names its own parts" split
|
|
75
|
+
* `source-config-list/agent-handles.ts` established first. Returning `{}` rather than throwing on
|
|
76
|
+
* an `undefined` base is what keeps the host prop opt-in: a host that never passes `agentHandle`
|
|
77
|
+
* renders exactly the markup it did before this existed — additive, never a behavior change.
|
|
78
|
+
*
|
|
79
|
+
* @param base - The component's own handle from the host, or `undefined` when it published none.
|
|
80
|
+
* @param options - Role, stable label, optional page, and the optional `action` naming this
|
|
81
|
+
* sub-element (see {@link AgentHandlePropsOptions}).
|
|
82
|
+
* @returns Spreadable attribute props, or `{}` when `base` is `undefined`.
|
|
83
|
+
* @throws If `base` is defined but not a valid element handle — via `agentHandle()`, deliberately
|
|
84
|
+
* unguarded so a bad host-supplied base fails loudly at first render rather than silently
|
|
85
|
+
* answering to a handle the host never wrote.
|
|
86
|
+
* @complexity O(1).
|
|
87
|
+
*/
|
|
88
|
+
export declare function agentHandleProps(base: string | undefined, options?: AgentHandlePropsOptions): AgentHandleProps | Record<string, never>;
|
|
41
89
|
//# sourceMappingURL=handle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../../src/core/handle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EAEpB,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAC;AAE9B,6DAA6D;AAC7D,MAAM,WAAW,kBAAkB;IACjC,wEAAwE;IACxE,QAAQ,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACjC,6FAA6F;IAC7F,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wFAAwF;AACxF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,CAAC,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAC5C,GAAG,OAAO,CACT,MAAM,CAC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AM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,GAAE,uBAA4B,GACpC,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAI1C"}
|
package/dist/core/handle.js
CHANGED
|
@@ -38,4 +38,51 @@ export function agentHandle(handle, options = {}) {
|
|
|
38
38
|
props[AGENT_PAGE_ATTRIBUTE] = options.page;
|
|
39
39
|
return props;
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* The handle for one sub-element published under `base` — `<base>-<action>`.
|
|
43
|
+
*
|
|
44
|
+
* The one join rule every multi-control component under a single host-supplied base handle needs
|
|
45
|
+
* (a settings tab, a card, a form), extracted here so each such component imports it rather than
|
|
46
|
+
* re-deriving the same template literal. First established as `sourceConfigActionHandle` in
|
|
47
|
+
* `../../features/source-config-list/agent-handles.ts` before this package had a generic version —
|
|
48
|
+
* that feature's own doc comment explains the naming split this generalizes ("a host names a
|
|
49
|
+
* component; the component names its own parts").
|
|
50
|
+
*
|
|
51
|
+
* @param base - The component's own handle, as published by the host. Must already be a valid
|
|
52
|
+
* element handle — callers own that, same as every other `agentHandle()` base.
|
|
53
|
+
* @param action - The sub-element's name. Always a literal chosen by the component, never host data.
|
|
54
|
+
* @returns `<base>-<action>`.
|
|
55
|
+
* @complexity O(1).
|
|
56
|
+
*/
|
|
57
|
+
export function agentSubHandle(base, action) {
|
|
58
|
+
return `${base}-${action}`;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Builds the `data-agent-*` attribute props for one element of a component that takes a single
|
|
62
|
+
* OPTIONAL base handle from its host, or nothing at all when the host published no base.
|
|
63
|
+
*
|
|
64
|
+
* This is the seam a component with more than one agent-addressable element should use: the host
|
|
65
|
+
* hands the component ONE base handle (`agentHandle?: string` in that component's own props, named
|
|
66
|
+
* identically to this function's own `handle.ts` sibling so a caller cannot mistake which handle a
|
|
67
|
+
* component wants), and the component derives every sub-element's handle from it via `action`,
|
|
68
|
+
* exactly the "host names a component, the component names its own parts" split
|
|
69
|
+
* `source-config-list/agent-handles.ts` established first. Returning `{}` rather than throwing on
|
|
70
|
+
* an `undefined` base is what keeps the host prop opt-in: a host that never passes `agentHandle`
|
|
71
|
+
* renders exactly the markup it did before this existed — additive, never a behavior change.
|
|
72
|
+
*
|
|
73
|
+
* @param base - The component's own handle from the host, or `undefined` when it published none.
|
|
74
|
+
* @param options - Role, stable label, optional page, and the optional `action` naming this
|
|
75
|
+
* sub-element (see {@link AgentHandlePropsOptions}).
|
|
76
|
+
* @returns Spreadable attribute props, or `{}` when `base` is `undefined`.
|
|
77
|
+
* @throws If `base` is defined but not a valid element handle — via `agentHandle()`, deliberately
|
|
78
|
+
* unguarded so a bad host-supplied base fails loudly at first render rather than silently
|
|
79
|
+
* answering to a handle the host never wrote.
|
|
80
|
+
* @complexity O(1).
|
|
81
|
+
*/
|
|
82
|
+
export function agentHandleProps(base, options = {}) {
|
|
83
|
+
if (base === undefined)
|
|
84
|
+
return {};
|
|
85
|
+
const { action, ...rest } = options;
|
|
86
|
+
return agentHandle(action === undefined ? base : agentSubHandle(base, action), rest);
|
|
87
|
+
}
|
|
41
88
|
//# sourceMappingURL=handle.js.map
|
package/dist/core/handle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle.js","sourceRoot":"","sources":["../../src/core/handle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,GAErB,MAAM,sBAAsB,CAAC;AAsB9B;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,WAAW,CAAC,MAAc,EAAE,UAA8B,EAAE;IAC1E,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;QAClC,MAAM,IAAI,KAAK,CACb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AS;QAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC;IAC9E,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;QAAE,KAAK,CAAC,oBAAoB,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAC3E,OAAO,KAAyB,CAAC;AACnC,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,cAAc,CAAC,IAAY,EAAE,MAAc;IACzD,OAAO,GAAG,IAAI,IAAI,MAAM,EAAE,CAAC;AAC7B,CAAC;AAWD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,gBAAgB,CAC9B,IAAwB,EACxB,UAAmC,EAAE;IAErC,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,EAAE,CAAC;IAClC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;IACpC,OAAO,WAAW,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;AACvF,CAAC"}
|
package/dist/core/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type { PageDriver, FindElementsFilter, PageSummary } from './page-driver.
|
|
|
22
22
|
export { executePageCapability, projectElementState, DEFAULT_HIGHLIGHT_MS, MAX_HIGHLIGHT_MS, MAX_STATEFUL_ELEMENTS, type FindElementsResult, type PageElementResult, type PageActivitySnapshot, type PageWriteObservation, } from './page-executor.js';
|
|
23
23
|
export { PAGE_CAPABILITIES } from './page-capabilities.js';
|
|
24
24
|
export { AGENT_ELEMENT_ATTRIBUTE, AGENT_ROLE_ATTRIBUTE, AGENT_LABEL_ATTRIBUTE, AGENT_PAGE_ATTRIBUTE, AGENT_ELEMENT_ROLES, isValidElementHandle, resolveHandleSelector, type AgentElementRole, type AgentElementDescriptor, type AgentElementRawState, type AgentElementState, } from './element-handles.js';
|
|
25
|
-
export { agentHandle, type AgentHandleOptions, type AgentHandleProps } from './handle.js';
|
|
25
|
+
export { agentHandle, agentSubHandle, agentHandleProps, type AgentHandleOptions, type AgentHandleProps, type AgentHandlePropsOptions, } from './handle.js';
|
|
26
26
|
export { buildAgentListHandles } from './list-handles.js';
|
|
27
27
|
export { findFieldFillRefusal, findFieldReadRefusal, describeFieldRefusal, describeFieldReadRefusal, normalizeAgentLabel, MAX_AGENT_LABEL_LENGTH, type FieldDescriptor, type FieldRefusal, type FieldReadRefusal, type NormalizedLabel, } from './guards.js';
|
|
28
28
|
/**
|
|
@@ -64,7 +64,7 @@ export { toAgUiTool, toAgUiTools, createAgUiToolResult, AG_UI_TOOL_CALL_EVENTS,
|
|
|
64
64
|
* `@jini-ai/http-kit` used to mount this encoder behind a route still named `/api/runs/:runId/
|
|
65
65
|
* agui-stream` — left un-renamed at the time on the assumption it was a wire contract an
|
|
66
66
|
* already-deployed client might be calling. A 2026-08-18 audit found zero callers of that route
|
|
67
|
-
* anywhere (no client in this repo or
|
|
67
|
+
* anywhere (no client in this repo or any consuming product ever requested it, and `@jini-ai/http-kit` has never
|
|
68
68
|
* actually been published to npm, so no external integrator could depend on it either); the route,
|
|
69
69
|
* its registrar, and its tests were removed outright rather than renamed. This `gen-ui/` module
|
|
70
70
|
* itself was untouched — it is `@jini-ai/agentic`'s own public export and its removal is a separate
|
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpF,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpF,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,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oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,YAAY,GAClB,MAAM,kBAAkB,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -21,7 +21,7 @@ export { findCapability, findCapabilityInputError, availableCapabilities, } from
|
|
|
21
21
|
export { executePageCapability, projectElementState, DEFAULT_HIGHLIGHT_MS, MAX_HIGHLIGHT_MS, MAX_STATEFUL_ELEMENTS, } from './page-executor.js';
|
|
22
22
|
export { PAGE_CAPABILITIES } from './page-capabilities.js';
|
|
23
23
|
export { AGENT_ELEMENT_ATTRIBUTE, AGENT_ROLE_ATTRIBUTE, AGENT_LABEL_ATTRIBUTE, AGENT_PAGE_ATTRIBUTE, AGENT_ELEMENT_ROLES, isValidElementHandle, resolveHandleSelector, } from './element-handles.js';
|
|
24
|
-
export { agentHandle } from './handle.js';
|
|
24
|
+
export { agentHandle, agentSubHandle, agentHandleProps, } from './handle.js';
|
|
25
25
|
export { buildAgentListHandles } from './list-handles.js';
|
|
26
26
|
export { findFieldFillRefusal, findFieldReadRefusal, describeFieldRefusal, describeFieldReadRefusal, normalizeAgentLabel, MAX_AGENT_LABEL_LENGTH, } from './guards.js';
|
|
27
27
|
/**
|
|
@@ -63,7 +63,7 @@ export { toAgUiTool, toAgUiTools, createAgUiToolResult, AG_UI_TOOL_CALL_EVENTS,
|
|
|
63
63
|
* `@jini-ai/http-kit` used to mount this encoder behind a route still named `/api/runs/:runId/
|
|
64
64
|
* agui-stream` — left un-renamed at the time on the assumption it was a wire contract an
|
|
65
65
|
* already-deployed client might be calling. A 2026-08-18 audit found zero callers of that route
|
|
66
|
-
* anywhere (no client in this repo or
|
|
66
|
+
* anywhere (no client in this repo or any consuming product ever requested it, and `@jini-ai/http-kit` has never
|
|
67
67
|
* actually been published to npm, so no external integrator could depend on it either); the route,
|
|
68
68
|
* its registrar, and its tests were removed outright rather than renamed. This `gen-ui/` module
|
|
69
69
|
* itself was untouched — it is `@jini-ai/agentic`'s own public export and its removal is a separate
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,qBAAqB,GAKtB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,GAKtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,GAKtB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,qBAAqB,GAKtB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,GAKtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,GAKtB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,WAAW,EACX,cAAc,EACd,gBAAgB,GAIjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,sBAAsB,GAKvB,MAAM,aAAa,CAAC;AAErB;;;;;;;;GAQG;AACH,OAAO,EACL,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,+BAA+B,EAC/B,0BAA0B,GAO3B,MAAM,aAAa,CAAC;AAErB;;;;;GAKG;AACH,OAAO,EACL,UAAU,EACV,WAAW,EACX,oBAAoB,EACpB,sBAAsB,GAGvB,MAAM,YAAY,CAAC;AAEpB;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EACL,kBAAkB,GAYnB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,GAMxB,MAAM,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/agentic",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Framework-free agent-control layer: page-capability vocabulary and manifests, the data-agent-* markup convention, AG-UI projection, generative-UI streams, and A2UI.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|