@mindburn/helm-ai-kernel 0.5.11 → 0.5.13

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.gen.js CHANGED
@@ -4707,6 +4707,152 @@ export function ListLaunchpadSubstrates200ResponseToJSON(value) {
4707
4707
  'substrates': (value['substrates'].map(LaunchpadSubstrateToJSON)),
4708
4708
  };
4709
4709
  }
4710
+ /**
4711
+ * @export
4712
+ */
4713
+ export const LocalConsoleRuntimeConfigProfileEnum = {
4714
+ Claude: 'claude',
4715
+ Codex: 'codex',
4716
+ Mcp: 'mcp',
4717
+ OpenaiCompatible: 'openai-compatible'
4718
+ };
4719
+ /**
4720
+ * @export
4721
+ */
4722
+ export const LocalConsoleRuntimeConfigEntitlementsEnum = {
4723
+ OssCore: 'OSS_CORE'
4724
+ };
4725
+ /**
4726
+ * Check if a given object implements the LocalConsoleRuntimeConfig interface.
4727
+ */
4728
+ export function instanceOfLocalConsoleRuntimeConfig(value) {
4729
+ if (!('api_base_url' in value))
4730
+ return false;
4731
+ if (!('local_mode' in value))
4732
+ return false;
4733
+ if (!('start_onboarding' in value))
4734
+ return false;
4735
+ if (!('tenant_id' in value))
4736
+ return false;
4737
+ if (!('principal_id' in value))
4738
+ return false;
4739
+ if (!('profile' in value))
4740
+ return false;
4741
+ if (!('entitlements' in value))
4742
+ return false;
4743
+ return true;
4744
+ }
4745
+ export function LocalConsoleRuntimeConfigFromJSON(json) {
4746
+ return LocalConsoleRuntimeConfigFromJSONTyped(json, false);
4747
+ }
4748
+ export function LocalConsoleRuntimeConfigFromJSONTyped(json, ignoreDiscriminator) {
4749
+ if (json == null) {
4750
+ return json;
4751
+ }
4752
+ return {
4753
+ 'api_base_url': json['api_base_url'],
4754
+ 'local_mode': json['local_mode'],
4755
+ 'start_onboarding': json['start_onboarding'],
4756
+ 'tenant_id': json['tenant_id'],
4757
+ 'principal_id': json['principal_id'],
4758
+ 'profile': json['profile'],
4759
+ 'entitlements': json['entitlements'],
4760
+ };
4761
+ }
4762
+ export function LocalConsoleRuntimeConfigToJSON(value) {
4763
+ if (value == null) {
4764
+ return value;
4765
+ }
4766
+ return {
4767
+ 'api_base_url': value['api_base_url'],
4768
+ 'local_mode': value['local_mode'],
4769
+ 'start_onboarding': value['start_onboarding'],
4770
+ 'tenant_id': value['tenant_id'],
4771
+ 'principal_id': value['principal_id'],
4772
+ 'profile': value['profile'],
4773
+ 'entitlements': value['entitlements'],
4774
+ };
4775
+ }
4776
+ /**
4777
+ * Check if a given object implements the LocalSessionExchangeRequest interface.
4778
+ */
4779
+ export function instanceOfLocalSessionExchangeRequest(value) {
4780
+ if (!('token' in value))
4781
+ return false;
4782
+ return true;
4783
+ }
4784
+ export function LocalSessionExchangeRequestFromJSON(json) {
4785
+ return LocalSessionExchangeRequestFromJSONTyped(json, false);
4786
+ }
4787
+ export function LocalSessionExchangeRequestFromJSONTyped(json, ignoreDiscriminator) {
4788
+ if (json == null) {
4789
+ return json;
4790
+ }
4791
+ return {
4792
+ 'token': json['token'],
4793
+ };
4794
+ }
4795
+ export function LocalSessionExchangeRequestToJSON(value) {
4796
+ if (value == null) {
4797
+ return value;
4798
+ }
4799
+ return {
4800
+ 'token': value['token'],
4801
+ };
4802
+ }
4803
+ /**
4804
+ * @export
4805
+ */
4806
+ export const LocalSessionExchangeResponseEntitlementsEnum = {
4807
+ OssCore: 'OSS_CORE'
4808
+ };
4809
+ /**
4810
+ * Check if a given object implements the LocalSessionExchangeResponse interface.
4811
+ */
4812
+ export function instanceOfLocalSessionExchangeResponse(value) {
4813
+ if (!('session_token' in value))
4814
+ return false;
4815
+ if (!('tenant_id' in value))
4816
+ return false;
4817
+ if (!('principal_id' in value))
4818
+ return false;
4819
+ if (!('principal' in value))
4820
+ return false;
4821
+ if (!('expires_at' in value))
4822
+ return false;
4823
+ if (!('entitlements' in value))
4824
+ return false;
4825
+ return true;
4826
+ }
4827
+ export function LocalSessionExchangeResponseFromJSON(json) {
4828
+ return LocalSessionExchangeResponseFromJSONTyped(json, false);
4829
+ }
4830
+ export function LocalSessionExchangeResponseFromJSONTyped(json, ignoreDiscriminator) {
4831
+ if (json == null) {
4832
+ return json;
4833
+ }
4834
+ return {
4835
+ 'session_token': json['session_token'],
4836
+ 'tenant_id': json['tenant_id'],
4837
+ 'principal_id': json['principal_id'],
4838
+ 'principal': json['principal'],
4839
+ 'expires_at': (new Date(json['expires_at'])),
4840
+ 'entitlements': json['entitlements'],
4841
+ };
4842
+ }
4843
+ export function LocalSessionExchangeResponseToJSON(value) {
4844
+ if (value == null) {
4845
+ return value;
4846
+ }
4847
+ return {
4848
+ 'session_token': value['session_token'],
4849
+ 'tenant_id': value['tenant_id'],
4850
+ 'principal_id': value['principal_id'],
4851
+ 'principal': value['principal'],
4852
+ 'expires_at': ((value['expires_at']).toISOString()),
4853
+ 'entitlements': value['entitlements'],
4854
+ };
4855
+ }
4710
4856
  /**
4711
4857
  * Check if a given object implements the MCPAuthorizationProfile interface.
4712
4858
  */
@@ -5516,6 +5662,213 @@ export function OAuthRequirementToJSON(value) {
5516
5662
  'source': value['source'],
5517
5663
  };
5518
5664
  }
5665
+ /**
5666
+ * Check if a given object implements the OnboardingEvidenceExport interface.
5667
+ */
5668
+ export function instanceOfOnboardingEvidenceExport(value) {
5669
+ if (!('evidence_pack_ref' in value))
5670
+ return false;
5671
+ if (!('sha256' in value))
5672
+ return false;
5673
+ if (!('receipt_refs' in value))
5674
+ return false;
5675
+ if (!('steps' in value))
5676
+ return false;
5677
+ return true;
5678
+ }
5679
+ export function OnboardingEvidenceExportFromJSON(json) {
5680
+ return OnboardingEvidenceExportFromJSONTyped(json, false);
5681
+ }
5682
+ export function OnboardingEvidenceExportFromJSONTyped(json, ignoreDiscriminator) {
5683
+ if (json == null) {
5684
+ return json;
5685
+ }
5686
+ return {
5687
+ 'evidence_pack_ref': json['evidence_pack_ref'],
5688
+ 'sha256': json['sha256'],
5689
+ 'receipt_refs': json['receipt_refs'],
5690
+ 'steps': (json['steps'].map(OnboardingStepFromJSON)),
5691
+ };
5692
+ }
5693
+ export function OnboardingEvidenceExportToJSON(value) {
5694
+ if (value == null) {
5695
+ return value;
5696
+ }
5697
+ return {
5698
+ 'evidence_pack_ref': value['evidence_pack_ref'],
5699
+ 'sha256': value['sha256'],
5700
+ 'receipt_refs': value['receipt_refs'],
5701
+ 'steps': (value['steps'].map(OnboardingStepToJSON)),
5702
+ };
5703
+ }
5704
+ /**
5705
+ * @export
5706
+ */
5707
+ export const OnboardingRunStepRequestStepIdEnum = {
5708
+ Health: 'health',
5709
+ Policy: 'policy',
5710
+ Allow: 'allow',
5711
+ Deny: 'deny',
5712
+ Mcp: 'mcp',
5713
+ Verify: 'verify'
5714
+ };
5715
+ /**
5716
+ * Check if a given object implements the OnboardingRunStepRequest interface.
5717
+ */
5718
+ export function instanceOfOnboardingRunStepRequest(value) {
5719
+ if (!('step_id' in value))
5720
+ return false;
5721
+ return true;
5722
+ }
5723
+ export function OnboardingRunStepRequestFromJSON(json) {
5724
+ return OnboardingRunStepRequestFromJSONTyped(json, false);
5725
+ }
5726
+ export function OnboardingRunStepRequestFromJSONTyped(json, ignoreDiscriminator) {
5727
+ if (json == null) {
5728
+ return json;
5729
+ }
5730
+ return {
5731
+ 'step_id': json['step_id'],
5732
+ };
5733
+ }
5734
+ export function OnboardingRunStepRequestToJSON(value) {
5735
+ if (value == null) {
5736
+ return value;
5737
+ }
5738
+ return {
5739
+ 'step_id': value['step_id'],
5740
+ };
5741
+ }
5742
+ /**
5743
+ * @export
5744
+ */
5745
+ export const OnboardingStateModeEnum = {
5746
+ SelfHostedOss: 'self-hosted-oss'
5747
+ };
5748
+ /**
5749
+ * @export
5750
+ */
5751
+ export const OnboardingStateEntitlementsEnum = {
5752
+ OssCore: 'OSS_CORE'
5753
+ };
5754
+ /**
5755
+ * Check if a given object implements the OnboardingState interface.
5756
+ */
5757
+ export function instanceOfOnboardingState(value) {
5758
+ if (!('mode' in value))
5759
+ return false;
5760
+ if (!('entitlements' in value))
5761
+ return false;
5762
+ if (!('profile' in value))
5763
+ return false;
5764
+ if (!('steps' in value))
5765
+ return false;
5766
+ return true;
5767
+ }
5768
+ export function OnboardingStateFromJSON(json) {
5769
+ return OnboardingStateFromJSONTyped(json, false);
5770
+ }
5771
+ export function OnboardingStateFromJSONTyped(json, ignoreDiscriminator) {
5772
+ if (json == null) {
5773
+ return json;
5774
+ }
5775
+ return {
5776
+ 'mode': json['mode'],
5777
+ 'entitlements': json['entitlements'],
5778
+ 'profile': json['profile'],
5779
+ 'policy_path': json['policy_path'] == null ? undefined : json['policy_path'],
5780
+ 'evidence_pack_ref': json['evidence_pack_ref'] == null ? undefined : json['evidence_pack_ref'],
5781
+ 'steps': (json['steps'].map(OnboardingStepFromJSON)),
5782
+ };
5783
+ }
5784
+ export function OnboardingStateToJSON(value) {
5785
+ if (value == null) {
5786
+ return value;
5787
+ }
5788
+ return {
5789
+ 'mode': value['mode'],
5790
+ 'entitlements': value['entitlements'],
5791
+ 'profile': value['profile'],
5792
+ 'policy_path': value['policy_path'],
5793
+ 'evidence_pack_ref': value['evidence_pack_ref'],
5794
+ 'steps': (value['steps'].map(OnboardingStepToJSON)),
5795
+ };
5796
+ }
5797
+ /**
5798
+ * @export
5799
+ */
5800
+ export const OnboardingStepIdEnum = {
5801
+ Health: 'health',
5802
+ Policy: 'policy',
5803
+ Allow: 'allow',
5804
+ Deny: 'deny',
5805
+ Mcp: 'mcp',
5806
+ Verify: 'verify'
5807
+ };
5808
+ /**
5809
+ * @export
5810
+ */
5811
+ export const OnboardingStepStatusEnum = {
5812
+ Pending: 'pending',
5813
+ Pass: 'pass'
5814
+ };
5815
+ /**
5816
+ * @export
5817
+ */
5818
+ export const OnboardingStepVerdictEnum = {
5819
+ Allow: 'ALLOW',
5820
+ Deny: 'DENY',
5821
+ Escalate: 'ESCALATE'
5822
+ };
5823
+ /**
5824
+ * Check if a given object implements the OnboardingStep interface.
5825
+ */
5826
+ export function instanceOfOnboardingStep(value) {
5827
+ if (!('id' in value))
5828
+ return false;
5829
+ if (!('title' in value))
5830
+ return false;
5831
+ if (!('description' in value))
5832
+ return false;
5833
+ if (!('status' in value))
5834
+ return false;
5835
+ if (!('verdict' in value))
5836
+ return false;
5837
+ if (!('reason_code' in value))
5838
+ return false;
5839
+ return true;
5840
+ }
5841
+ export function OnboardingStepFromJSON(json) {
5842
+ return OnboardingStepFromJSONTyped(json, false);
5843
+ }
5844
+ export function OnboardingStepFromJSONTyped(json, ignoreDiscriminator) {
5845
+ if (json == null) {
5846
+ return json;
5847
+ }
5848
+ return {
5849
+ 'id': json['id'],
5850
+ 'title': json['title'],
5851
+ 'description': json['description'],
5852
+ 'status': json['status'],
5853
+ 'verdict': json['verdict'],
5854
+ 'reason_code': json['reason_code'],
5855
+ 'receipt_ref': json['receipt_ref'] == null ? undefined : json['receipt_ref'],
5856
+ };
5857
+ }
5858
+ export function OnboardingStepToJSON(value) {
5859
+ if (value == null) {
5860
+ return value;
5861
+ }
5862
+ return {
5863
+ 'id': value['id'],
5864
+ 'title': value['title'],
5865
+ 'description': value['description'],
5866
+ 'status': value['status'],
5867
+ 'verdict': value['verdict'],
5868
+ 'reason_code': value['reason_code'],
5869
+ 'receipt_ref': value['receipt_ref'],
5870
+ };
5871
+ }
5519
5872
  /**
5520
5873
  * Check if a given object implements the PDPRequest interface.
5521
5874
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindburn/helm-ai-kernel",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "description": "TypeScript SDK for HELM — fail-closed tool calling for AI agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",