@alva-ai/toolkit 0.17.1-beta.0 → 0.18.0-beta.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/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;
@@ -1632,8 +1634,8 @@ declare class AlertsResource {
1632
1634
  * Group push subscriptions for an external channel session.
1633
1635
  *
1634
1636
  * These APIs subscribe the Telegram/Discord group attached to `session_id`
1635
- * to public feed push events. Mutations are idempotent no-ops unless
1636
- * 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.
1637
1639
  */
1638
1640
  declare class ChannelGroupSubscriptionsResource {
1639
1641
  private client;
@@ -1797,6 +1799,8 @@ declare class AlvaClient {
1797
1799
  * from `gaSessionId` (browser analytics).
1798
1800
  */
1799
1801
  readonly originSessionId?: string;
1802
+ /** Session profile kind associated with originSessionId. */
1803
+ readonly originSessionKind?: string;
1800
1804
  private _fs?;
1801
1805
  private _run?;
1802
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;
@@ -1632,8 +1634,8 @@ declare class AlertsResource {
1632
1634
  * Group push subscriptions for an external channel session.
1633
1635
  *
1634
1636
  * These APIs subscribe the Telegram/Discord group attached to `session_id`
1635
- * to public feed push events. Mutations are idempotent no-ops unless
1636
- * 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.
1637
1639
  */
1638
1640
  declare class ChannelGroupSubscriptionsResource {
1639
1641
  private client;
@@ -1797,6 +1799,8 @@ declare class AlvaClient {
1797
1799
  * from `gaSessionId` (browser analytics).
1798
1800
  */
1799
1801
  readonly originSessionId?: string;
1802
+ /** Session profile kind associated with originSessionId. */
1803
+ readonly originSessionKind?: string;
1800
1804
  private _fs?;
1801
1805
  private _run?;
1802
1806
  private _deploy?;
package/dist/index.js CHANGED
@@ -2989,6 +2989,8 @@ var AlvaClient = class {
2989
2989
  * from `gaSessionId` (browser analytics).
2990
2990
  */
2991
2991
  originSessionId;
2992
+ /** Session profile kind associated with originSessionId. */
2993
+ originSessionKind;
2992
2994
  _fs;
2993
2995
  _run;
2994
2996
  _deploy;
@@ -3027,6 +3029,7 @@ var AlvaClient = class {
3027
3029
  this.utmParams = config.utmParams;
3028
3030
  this.signal = config.signal;
3029
3031
  this.originSessionId = config.originSessionId;
3032
+ this.originSessionKind = config.originSessionKind;
3030
3033
  }
3031
3034
  get fs() {
3032
3035
  return this._fs ??= new FsResource(this);
@@ -3710,7 +3713,7 @@ var installPlaybookRuntime = (targetWindow) => {
3710
3713
  };
3711
3714
 
3712
3715
  // src/index.ts
3713
- var VERSION = true ? "0.17.1-beta.0" : "dev";
3716
+ var VERSION = true ? "0.18.0-beta.0" : "dev";
3714
3717
  export {
3715
3718
  AlertsResource,
3716
3719
  AlvaClient,