@impz/client 7.0.1 → 7.2.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.
@@ -1,4 +1,4 @@
1
- import { v as IdentityTrustDocument } from "./index-IqKh3Lzm.js";
1
+ import { v as IdentityTrustDocument } from "./index-HbI65Z62.js";
2
2
  interface VerifiedImp {
3
3
  readonly issuer: string;
4
4
  readonly id: string;
@@ -5,6 +5,7 @@ declare const ApiCallSchema: z.ZodObject<{
5
5
  actor: z.ZodEnum<{
6
6
  dashboard: "dashboard";
7
7
  oauth: "oauth";
8
+ service: "service";
8
9
  ssh: "ssh";
9
10
  tailnet: "tailnet";
10
11
  token: "token";
@@ -483,6 +484,7 @@ declare const ImpEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
483
484
  actor: z.ZodEnum<{
484
485
  dashboard: "dashboard";
485
486
  oauth: "oauth";
487
+ service: "service";
486
488
  ssh: "ssh";
487
489
  tailnet: "tailnet";
488
490
  token: "token";
@@ -16226,6 +16228,7 @@ declare const impContract: {
16226
16228
  actor: import("zod").ZodEnum<{
16227
16229
  dashboard: "dashboard";
16228
16230
  oauth: "oauth";
16231
+ service: "service";
16229
16232
  ssh: "ssh";
16230
16233
  tailnet: "tailnet";
16231
16234
  token: "token";
@@ -16716,7 +16719,7 @@ declare const impContract: {
16716
16719
  logId: string;
16717
16720
  ev: "AgentExec";
16718
16721
  name: string;
16719
- actor: "dashboard" | "oauth" | "ssh" | "tailnet" | "token";
16722
+ actor: "dashboard" | "oauth" | "service" | "ssh" | "tailnet" | "token";
16720
16723
  actorName: string;
16721
16724
  tty: boolean;
16722
16725
  command: string;
@@ -17032,7 +17035,7 @@ declare const impContract: {
17032
17035
  logId: string;
17033
17036
  ev: "AgentExec";
17034
17037
  name: string;
17035
- actor: "dashboard" | "oauth" | "ssh" | "tailnet" | "token";
17038
+ actor: "dashboard" | "oauth" | "service" | "ssh" | "tailnet" | "token";
17036
17039
  actorName: string;
17037
17040
  tty: boolean;
17038
17041
  command: string;
@@ -17622,6 +17625,7 @@ declare const impContract: {
17622
17625
  actor: import("zod").ZodEnum<{
17623
17626
  dashboard: "dashboard";
17624
17627
  oauth: "oauth";
17628
+ service: "service";
17625
17629
  ssh: "ssh";
17626
17630
  tailnet: "tailnet";
17627
17631
  token: "token";
@@ -22082,6 +22086,7 @@ declare const impContract: {
22082
22086
  kind: import("zod").ZodEnum<{
22083
22087
  dashboard: "dashboard";
22084
22088
  oauth: "oauth";
22089
+ service: "service";
22085
22090
  ssh: "ssh";
22086
22091
  tailnet: "tailnet";
22087
22092
  token: "token";
@@ -23338,6 +23343,7 @@ declare const IdentitySchema: z.ZodObject<{
23338
23343
  kind: z.ZodEnum<{
23339
23344
  dashboard: "dashboard";
23340
23345
  oauth: "oauth";
23346
+ service: "service";
23341
23347
  ssh: "ssh";
23342
23348
  tailnet: "tailnet";
23343
23349
  token: "token";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ExecRequirement, C as Image, D as DetachReason, E as ImpEvent, F as Checkpoint, I as ApiCall, M as ExecTool, N as ImageBuildPhase, O as EXEC_REQUIREMENTS, P as ImageBuildProgress, S as ImpContract, T as EventCursor, _ as Session, a as SystemFeaturesInfo, b as ImpState, c as SessionLogRead, d as InvalidResumeData, f as NoSessionData, g as SessionOutput, h as ResumeResult, i as Token, j as ExecStartMessageSchema, k as ExecAttachMessageSchema, l as ColdBoot, m as ResumeFrom, n as Scope, o as SystemInfo, p as PreviousGeneration, r as SshKey, s as SessionLog, t as Identity, u as ColdBootCause, w as TunnelListen, x as IMP_ERRORS, y as Imp } from "./index-IqKh3Lzm.js";
1
+ import { A as ExecRequirement, C as Image, D as DetachReason, E as ImpEvent, F as Checkpoint, I as ApiCall, M as ExecTool, N as ImageBuildPhase, O as EXEC_REQUIREMENTS, P as ImageBuildProgress, S as ImpContract, T as EventCursor, _ as Session, a as SystemFeaturesInfo, b as ImpState, c as SessionLogRead, d as InvalidResumeData, f as NoSessionData, g as SessionOutput, h as ResumeResult, i as Token, j as ExecStartMessageSchema, k as ExecAttachMessageSchema, l as ColdBoot, m as ResumeFrom, n as Scope, o as SystemInfo, p as PreviousGeneration, r as SshKey, s as SessionLog, t as Identity, u as ColdBootCause, w as TunnelListen, x as IMP_ERRORS, y as Imp } from "./index-HbI65Z62.js";
2
2
  import { ORPCError, isDefinedError, safe } from "@orpc/client";
3
3
  import * as z from "zod";
4
4
  import { ContractRouterClient } from "@orpc/contract";
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import * as z from "zod";
4
4
  import { P, match } from "ts-pattern";
5
5
  import pRetry, { AbortError } from "p-retry";
6
6
  // src/check-server.ts
7
- const CLIENT_VERSION = "7.0.1";
7
+ const CLIENT_VERSION = "7.2.0";
8
8
  async function checkServer(rpc, options = {}) {
9
9
  const signal = options.signal;
10
10
  const callOptions = signal === void 0 ? {} : { signal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impz/client",
3
- "version": "7.0.1",
3
+ "version": "7.2.0",
4
4
  "description": "Typed client for impd, the imp host daemon: imps, checkpoints, images and exec",
5
5
  "license": "MIT",
6
6
  "repository": {