@alva-ai/toolkit 0.17.0 → 0.17.1-beta.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/dist/browser.global.js +2 -2
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +8 -2
- package/dist/cli.js +244 -44
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -11,6 +11,8 @@ interface AlvaClientConfig {
|
|
|
11
11
|
signal?: AbortSignal;
|
|
12
12
|
/** Alva chat session owning produced artifacts; sent as X-Alva-Origin-Session-Id. */
|
|
13
13
|
originSessionId?: string;
|
|
14
|
+
/** Session profile kind used to gate attached-context CLI commands. */
|
|
15
|
+
originSessionKind?: string;
|
|
14
16
|
}
|
|
15
17
|
interface UserProfile {
|
|
16
18
|
id: string;
|
|
@@ -340,6 +342,8 @@ interface FeedReleaseRequest {
|
|
|
340
342
|
* regular (non-agent) feed. The backend validates it against its catalog.
|
|
341
343
|
*/
|
|
342
344
|
agent_type?: string;
|
|
345
|
+
/** Suppress ReleaseFeed's default publish-time first run. */
|
|
346
|
+
skip_auto_trigger?: boolean;
|
|
343
347
|
}
|
|
344
348
|
interface FeedReleaseResponse {
|
|
345
349
|
feed_id: number;
|
|
@@ -1630,8 +1634,8 @@ declare class AlertsResource {
|
|
|
1630
1634
|
* Group push subscriptions for an external channel session.
|
|
1631
1635
|
*
|
|
1632
1636
|
* These APIs subscribe the Telegram/Discord group attached to `session_id`
|
|
1633
|
-
* to
|
|
1634
|
-
* the authenticated caller is that group's Alva admin.
|
|
1637
|
+
* to feed push events the group admin may read. Mutations are idempotent no-ops
|
|
1638
|
+
* unless the authenticated caller is that group's Alva admin.
|
|
1635
1639
|
*/
|
|
1636
1640
|
declare class ChannelGroupSubscriptionsResource {
|
|
1637
1641
|
private client;
|
|
@@ -1795,6 +1799,8 @@ declare class AlvaClient {
|
|
|
1795
1799
|
* from `gaSessionId` (browser analytics).
|
|
1796
1800
|
*/
|
|
1797
1801
|
readonly originSessionId?: string;
|
|
1802
|
+
/** Session profile kind associated with originSessionId. */
|
|
1803
|
+
readonly originSessionKind?: string;
|
|
1798
1804
|
private _fs?;
|
|
1799
1805
|
private _run?;
|
|
1800
1806
|
private _deploy?;
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ interface AlvaClientConfig {
|
|
|
11
11
|
signal?: AbortSignal;
|
|
12
12
|
/** Alva chat session owning produced artifacts; sent as X-Alva-Origin-Session-Id. */
|
|
13
13
|
originSessionId?: string;
|
|
14
|
+
/** Session profile kind used to gate attached-context CLI commands. */
|
|
15
|
+
originSessionKind?: string;
|
|
14
16
|
}
|
|
15
17
|
interface UserProfile {
|
|
16
18
|
id: string;
|
|
@@ -340,6 +342,8 @@ interface FeedReleaseRequest {
|
|
|
340
342
|
* regular (non-agent) feed. The backend validates it against its catalog.
|
|
341
343
|
*/
|
|
342
344
|
agent_type?: string;
|
|
345
|
+
/** Suppress ReleaseFeed's default publish-time first run. */
|
|
346
|
+
skip_auto_trigger?: boolean;
|
|
343
347
|
}
|
|
344
348
|
interface FeedReleaseResponse {
|
|
345
349
|
feed_id: number;
|
|
@@ -1630,8 +1634,8 @@ declare class AlertsResource {
|
|
|
1630
1634
|
* Group push subscriptions for an external channel session.
|
|
1631
1635
|
*
|
|
1632
1636
|
* These APIs subscribe the Telegram/Discord group attached to `session_id`
|
|
1633
|
-
* to
|
|
1634
|
-
* the authenticated caller is that group's Alva admin.
|
|
1637
|
+
* to feed push events the group admin may read. Mutations are idempotent no-ops
|
|
1638
|
+
* unless the authenticated caller is that group's Alva admin.
|
|
1635
1639
|
*/
|
|
1636
1640
|
declare class ChannelGroupSubscriptionsResource {
|
|
1637
1641
|
private client;
|
|
@@ -1795,6 +1799,8 @@ declare class AlvaClient {
|
|
|
1795
1799
|
* from `gaSessionId` (browser analytics).
|
|
1796
1800
|
*/
|
|
1797
1801
|
readonly originSessionId?: string;
|
|
1802
|
+
/** Session profile kind associated with originSessionId. */
|
|
1803
|
+
readonly originSessionKind?: string;
|
|
1798
1804
|
private _fs?;
|
|
1799
1805
|
private _run?;
|
|
1800
1806
|
private _deploy?;
|
package/dist/index.js
CHANGED
|
@@ -373,7 +373,8 @@ var ReleaseResource = class {
|
|
|
373
373
|
view_json: params.view_json,
|
|
374
374
|
description: params.description,
|
|
375
375
|
changelog: params.changelog,
|
|
376
|
-
agent_type: params.agent_type
|
|
376
|
+
agent_type: params.agent_type,
|
|
377
|
+
skip_auto_trigger: params.skip_auto_trigger
|
|
377
378
|
}
|
|
378
379
|
});
|
|
379
380
|
}
|
|
@@ -2988,6 +2989,8 @@ var AlvaClient = class {
|
|
|
2988
2989
|
* from `gaSessionId` (browser analytics).
|
|
2989
2990
|
*/
|
|
2990
2991
|
originSessionId;
|
|
2992
|
+
/** Session profile kind associated with originSessionId. */
|
|
2993
|
+
originSessionKind;
|
|
2991
2994
|
_fs;
|
|
2992
2995
|
_run;
|
|
2993
2996
|
_deploy;
|
|
@@ -3026,6 +3029,7 @@ var AlvaClient = class {
|
|
|
3026
3029
|
this.utmParams = config.utmParams;
|
|
3027
3030
|
this.signal = config.signal;
|
|
3028
3031
|
this.originSessionId = config.originSessionId;
|
|
3032
|
+
this.originSessionKind = config.originSessionKind;
|
|
3029
3033
|
}
|
|
3030
3034
|
get fs() {
|
|
3031
3035
|
return this._fs ??= new FsResource(this);
|
|
@@ -3709,7 +3713,7 @@ var installPlaybookRuntime = (targetWindow) => {
|
|
|
3709
3713
|
};
|
|
3710
3714
|
|
|
3711
3715
|
// src/index.ts
|
|
3712
|
-
var VERSION = true ? "0.17.
|
|
3716
|
+
var VERSION = true ? "0.17.1-beta.1" : "dev";
|
|
3713
3717
|
export {
|
|
3714
3718
|
AlertsResource,
|
|
3715
3719
|
AlvaClient,
|