@vm0/runner 2.4.2 → 2.5.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.
Files changed (2) hide show
  1. package/index.js +1 -71
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6288,14 +6288,6 @@ var publicAgentDetailSchema = publicAgentSchema.extend({
6288
6288
  });
6289
6289
  var paginatedAgentsSchema = createPaginatedResponseSchema(publicAgentSchema);
6290
6290
  var paginatedAgentVersionsSchema = createPaginatedResponseSchema(agentVersionSchema);
6291
- var createAgentRequestSchema = z16.object({
6292
- name: z16.string().min(1).max(100).regex(
6293
- /^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/,
6294
- "Name must be lowercase alphanumeric with hyphens, not starting or ending with hyphen"
6295
- ),
6296
- config: z16.unknown()
6297
- // Agent YAML configuration
6298
- });
6299
6291
  var updateAgentRequestSchema = z16.object({
6300
6292
  config: z16.unknown()
6301
6293
  // New agent configuration (creates new version)
@@ -6315,20 +6307,6 @@ var publicAgentsListContract = c11.router({
6315
6307
  },
6316
6308
  summary: "List agents",
6317
6309
  description: "List all agents in the current scope with pagination. Use the `name` query parameter to filter by agent name."
6318
- },
6319
- create: {
6320
- method: "POST",
6321
- path: "/v1/agents",
6322
- body: createAgentRequestSchema,
6323
- responses: {
6324
- 201: publicAgentDetailSchema,
6325
- 400: publicApiErrorSchema,
6326
- 401: publicApiErrorSchema,
6327
- 409: publicApiErrorSchema,
6328
- 500: publicApiErrorSchema
6329
- },
6330
- summary: "Create agent",
6331
- description: "Create a new agent with the given configuration"
6332
6310
  }
6333
6311
  });
6334
6312
  var publicAgentByIdContract = c11.router({
@@ -6363,22 +6341,6 @@ var publicAgentByIdContract = c11.router({
6363
6341
  },
6364
6342
  summary: "Update agent",
6365
6343
  description: "Update agent configuration. Creates a new version if config changes."
6366
- },
6367
- delete: {
6368
- method: "DELETE",
6369
- path: "/v1/agents/:id",
6370
- pathParams: z16.object({
6371
- id: z16.string().min(1, "Agent ID is required")
6372
- }),
6373
- body: z16.undefined(),
6374
- responses: {
6375
- 204: z16.undefined(),
6376
- 401: publicApiErrorSchema,
6377
- 404: publicApiErrorSchema,
6378
- 500: publicApiErrorSchema
6379
- },
6380
- summary: "Delete agent",
6381
- description: "Archive an agent (soft delete)"
6382
6344
  }
6383
6345
  });
6384
6346
  var publicAgentVersionsContract = c11.router({
@@ -6751,22 +6713,6 @@ var publicArtifactByIdContract = c13.router({
6751
6713
  },
6752
6714
  summary: "Get artifact",
6753
6715
  description: "Get artifact details by ID"
6754
- },
6755
- delete: {
6756
- method: "DELETE",
6757
- path: "/v1/artifacts/:id",
6758
- pathParams: z18.object({
6759
- id: z18.string().min(1, "Artifact ID is required")
6760
- }),
6761
- body: z18.undefined(),
6762
- responses: {
6763
- 204: z18.undefined(),
6764
- 401: publicApiErrorSchema,
6765
- 404: publicApiErrorSchema,
6766
- 500: publicApiErrorSchema
6767
- },
6768
- summary: "Delete artifact",
6769
- description: "Delete an artifact and all its versions"
6770
6716
  }
6771
6717
  });
6772
6718
  var publicArtifactVersionsContract = c13.router({
@@ -6965,22 +6911,6 @@ var publicVolumeByIdContract = c14.router({
6965
6911
  },
6966
6912
  summary: "Get volume",
6967
6913
  description: "Get volume details by ID"
6968
- },
6969
- delete: {
6970
- method: "DELETE",
6971
- path: "/v1/volumes/:id",
6972
- pathParams: z19.object({
6973
- id: z19.string().min(1, "Volume ID is required")
6974
- }),
6975
- body: z19.undefined(),
6976
- responses: {
6977
- 204: z19.undefined(),
6978
- 401: publicApiErrorSchema,
6979
- 404: publicApiErrorSchema,
6980
- 500: publicApiErrorSchema
6981
- },
6982
- summary: "Delete volume",
6983
- description: "Delete a volume and all its versions"
6984
6914
  }
6985
6915
  });
6986
6916
  var publicVolumeVersionsContract = c14.router({
@@ -10857,7 +10787,7 @@ var statusCommand = new Command2("status").description("Check runner connectivit
10857
10787
  });
10858
10788
 
10859
10789
  // src/index.ts
10860
- var version = true ? "2.4.2" : "0.1.0";
10790
+ var version = true ? "2.5.0" : "0.1.0";
10861
10791
  program.name("vm0-runner").version(version).description("Self-hosted runner for VM0 agents");
10862
10792
  program.addCommand(startCommand);
10863
10793
  program.addCommand(statusCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/runner",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "Self-hosted runner for VM0 agents",
5
5
  "repository": {
6
6
  "type": "git",