@inferencesh/sdk 0.6.7 → 0.6.8

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/types.d.ts CHANGED
@@ -1304,10 +1304,10 @@ export interface InstanceTypeBootTime {
1304
1304
  * IntegrationDTO for API responses (never exposes tokens)
1305
1305
  */
1306
1306
  export interface IntegrationDTO extends BaseModelDTO, PermissionModelDTO {
1307
- provider: string;
1308
- type: string;
1309
- auth: string;
1310
- status: string;
1307
+ provider: IntegrationProvider;
1308
+ type: IntegrationAuthType;
1309
+ auth: IntegrationAuthType;
1310
+ status: IntegrationStatus;
1311
1311
  display_name: string;
1312
1312
  icon_url?: string;
1313
1313
  scopes: StringSlice;
@@ -2340,8 +2340,12 @@ export declare const CloudMassedCompute: InstanceCloudProvider;
2340
2340
  export declare const CloudVultr: InstanceCloudProvider;
2341
2341
  export declare const CloudShade: InstanceCloudProvider;
2342
2342
  export type InstanceStatus = string;
2343
+ export declare const InstanceStatusCreating: InstanceStatus;
2344
+ export declare const InstanceStatusPendingProvider: InstanceStatus;
2343
2345
  export declare const InstanceStatusPending: InstanceStatus;
2344
2346
  export declare const InstanceStatusActive: InstanceStatus;
2347
+ export declare const InstanceStatusError: InstanceStatus;
2348
+ export declare const InstanceStatusDeleting: InstanceStatus;
2345
2349
  export declare const InstanceStatusDeleted: InstanceStatus;
2346
2350
  export type InstanceTypeDeploymentType = string;
2347
2351
  export declare const InstanceTypeDeploymentTypeVM: InstanceTypeDeploymentType;
@@ -2431,6 +2435,38 @@ export declare const ContentViolenceNonGraphic: ContentRating;
2431
2435
  export declare const ContentViolenceGraphic: ContentRating;
2432
2436
  export declare const ContentGore: ContentRating;
2433
2437
  export declare const ContentUnrated: ContentRating;
2438
+ /**
2439
+ * IntegrationProvider represents an external integration provider.
2440
+ */
2441
+ export type IntegrationProvider = string;
2442
+ export declare const IntegrationProviderGoogle: IntegrationProvider;
2443
+ export declare const IntegrationProviderSlack: IntegrationProvider;
2444
+ export declare const IntegrationProviderNotion: IntegrationProvider;
2445
+ export declare const IntegrationProviderGitHub: IntegrationProvider;
2446
+ export declare const IntegrationProviderX: IntegrationProvider;
2447
+ export declare const IntegrationProviderMicrosoft: IntegrationProvider;
2448
+ export declare const IntegrationProviderSalesforce: IntegrationProvider;
2449
+ export declare const IntegrationProviderDiscord: IntegrationProvider;
2450
+ export declare const IntegrationProviderGCP: IntegrationProvider;
2451
+ export declare const IntegrationProviderMCP: IntegrationProvider;
2452
+ export declare const IntegrationProviderReddit: IntegrationProvider;
2453
+ /**
2454
+ * IntegrationAuthType describes the authentication mechanism of an integration.
2455
+ */
2456
+ export type IntegrationAuthType = string;
2457
+ export declare const IntegrationAuthTypeServiceAccount: IntegrationAuthType;
2458
+ export declare const IntegrationAuthTypeOAuth: IntegrationAuthType;
2459
+ export declare const IntegrationAuthTypeAPIKey: IntegrationAuthType;
2460
+ export declare const IntegrationAuthTypeWIF: IntegrationAuthType;
2461
+ export declare const IntegrationAuthTypeMCP: IntegrationAuthType;
2462
+ /**
2463
+ * IntegrationStatus represents the status of an integration connection.
2464
+ */
2465
+ export type IntegrationStatus = string;
2466
+ export declare const IntegrationStatusConnected: IntegrationStatus;
2467
+ export declare const IntegrationStatusDisconnected: IntegrationStatus;
2468
+ export declare const IntegrationStatusExpired: IntegrationStatus;
2469
+ export declare const IntegrationStatusError: IntegrationStatus;
2434
2470
  export type WidgetNodeType = string;
2435
2471
  export declare const WidgetNodeTypeText: WidgetNodeType;
2436
2472
  export declare const WidgetNodeTypeMarkdown: WidgetNodeType;
@@ -2526,35 +2562,35 @@ export type ToolCallType = string;
2526
2562
  */
2527
2563
  export type ToolParamType = string;
2528
2564
  /**
2529
- * Tool types and parameter types
2565
+ * Tool call types
2530
2566
  */
2531
2567
  export declare const ToolTypeFunction: ToolCallType;
2532
2568
  /**
2533
- * Tool types and parameter types
2569
+ * Tool parameter types
2534
2570
  */
2535
2571
  export declare const ToolParamTypeObject: ToolParamType;
2536
2572
  /**
2537
- * Tool types and parameter types
2573
+ * Tool parameter types
2538
2574
  */
2539
2575
  export declare const ToolParamTypeString: ToolParamType;
2540
2576
  /**
2541
- * Tool types and parameter types
2577
+ * Tool parameter types
2542
2578
  */
2543
2579
  export declare const ToolParamTypeInteger: ToolParamType;
2544
2580
  /**
2545
- * Tool types and parameter types
2581
+ * Tool parameter types
2546
2582
  */
2547
2583
  export declare const ToolParamTypeNumber: ToolParamType;
2548
2584
  /**
2549
- * Tool types and parameter types
2585
+ * Tool parameter types
2550
2586
  */
2551
2587
  export declare const ToolParamTypeBoolean: ToolParamType;
2552
2588
  /**
2553
- * Tool types and parameter types
2589
+ * Tool parameter types
2554
2590
  */
2555
2591
  export declare const ToolParamTypeArray: ToolParamType;
2556
2592
  /**
2557
- * Tool types and parameter types
2593
+ * Tool parameter types
2558
2594
  */
2559
2595
  export declare const ToolParamTypeNull: ToolParamType;
2560
2596
  /**
package/dist/types.js CHANGED
@@ -365,8 +365,12 @@ export const CloudDatacrunch = "datacrunch";
365
365
  export const CloudMassedCompute = "massedcompute";
366
366
  export const CloudVultr = "vultr";
367
367
  export const CloudShade = "shade";
368
+ export const InstanceStatusCreating = "creating";
369
+ export const InstanceStatusPendingProvider = "pending_provider";
368
370
  export const InstanceStatusPending = "pending";
369
371
  export const InstanceStatusActive = "active";
372
+ export const InstanceStatusError = "error";
373
+ export const InstanceStatusDeleting = "deleting";
370
374
  export const InstanceStatusDeleted = "deleted";
371
375
  export const InstanceTypeDeploymentTypeVM = "vm";
372
376
  export const InstanceTypeDeploymentTypeContainer = "container";
@@ -434,6 +438,26 @@ export const ContentViolenceNonGraphic = "violence_non_graphic";
434
438
  export const ContentViolenceGraphic = "violence_graphic";
435
439
  export const ContentGore = "gore";
436
440
  export const ContentUnrated = "unrated";
441
+ export const IntegrationProviderGoogle = "google";
442
+ export const IntegrationProviderSlack = "slack";
443
+ export const IntegrationProviderNotion = "notion";
444
+ export const IntegrationProviderGitHub = "github";
445
+ export const IntegrationProviderX = "x";
446
+ export const IntegrationProviderMicrosoft = "microsoft";
447
+ export const IntegrationProviderSalesforce = "salesforce";
448
+ export const IntegrationProviderDiscord = "discord";
449
+ export const IntegrationProviderGCP = "gcp";
450
+ export const IntegrationProviderMCP = "mcp";
451
+ export const IntegrationProviderReddit = "reddit";
452
+ export const IntegrationAuthTypeServiceAccount = "service_account";
453
+ export const IntegrationAuthTypeOAuth = "oauth";
454
+ export const IntegrationAuthTypeAPIKey = "api_key";
455
+ export const IntegrationAuthTypeWIF = "wif";
456
+ export const IntegrationAuthTypeMCP = "mcp";
457
+ export const IntegrationStatusConnected = "connected";
458
+ export const IntegrationStatusDisconnected = "disconnected";
459
+ export const IntegrationStatusExpired = "expired";
460
+ export const IntegrationStatusError = "error";
437
461
  export const WidgetNodeTypeText = "text";
438
462
  export const WidgetNodeTypeMarkdown = "markdown";
439
463
  export const WidgetNodeTypeImage = "image";
@@ -491,35 +515,35 @@ export const TeamRoleOwner = "owner";
491
515
  export const TeamRoleAdmin = "admin";
492
516
  export const TeamRoleMember = "member";
493
517
  /**
494
- * Tool types and parameter types
518
+ * Tool call types
495
519
  */
496
520
  export const ToolTypeFunction = "function";
497
521
  /**
498
- * Tool types and parameter types
522
+ * Tool parameter types
499
523
  */
500
524
  export const ToolParamTypeObject = "object";
501
525
  /**
502
- * Tool types and parameter types
526
+ * Tool parameter types
503
527
  */
504
528
  export const ToolParamTypeString = "string";
505
529
  /**
506
- * Tool types and parameter types
530
+ * Tool parameter types
507
531
  */
508
532
  export const ToolParamTypeInteger = "integer";
509
533
  /**
510
- * Tool types and parameter types
534
+ * Tool parameter types
511
535
  */
512
536
  export const ToolParamTypeNumber = "number";
513
537
  /**
514
- * Tool types and parameter types
538
+ * Tool parameter types
515
539
  */
516
540
  export const ToolParamTypeBoolean = "boolean";
517
541
  /**
518
- * Tool types and parameter types
542
+ * Tool parameter types
519
543
  */
520
544
  export const ToolParamTypeArray = "array";
521
545
  /**
522
- * Tool types and parameter types
546
+ * Tool parameter types
523
547
  */
524
548
  export const ToolParamTypeNull = "null";
525
549
  export const RoleGuest = "guest";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inferencesh/sdk",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Official JavaScript/TypeScript SDK for inference.sh - Run AI models with a simple API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -86,7 +86,8 @@
86
86
  "eventsource": "^4.0.0"
87
87
  },
88
88
  "devDependencies": {
89
- "@sveltejs/kit": "^2.0.0",
89
+ "@sveltejs/kit": "^2.60.1",
90
+ "svelte": "^5.55.7",
90
91
  "@types/express": "^5.0.0",
91
92
  "@types/jest": "^29.5.12",
92
93
  "@types/node": "^24.1.0",
@@ -97,7 +98,7 @@
97
98
  "eslint-config-prettier": "^10.1.8",
98
99
  "hono": "^4.0.0",
99
100
  "jest": "^29.7.0",
100
- "next": "^15.0.0",
101
+ "next": "^16.2.6",
101
102
  "prettier": "^3.6.2",
102
103
  "react": "^19.2.3",
103
104
  "rimraf": "^6.0.1",
@@ -133,5 +134,11 @@
133
134
  "README.md",
134
135
  "LICENSE",
135
136
  "CHANGELOG.md"
136
- ]
137
+ ],
138
+ "overrides": {
139
+ "postcss": "^8.5.10",
140
+ "cookie": "^0.7.0",
141
+ "svelte": "^5.55.7",
142
+ "devalue": "^5.8.1"
143
+ }
137
144
  }