
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@or-sdk/hitl
Advanced tools
$ npm i @or-sdk/hitl
const HitlApi = require('@or-sdk/hitl').HITL;
// with direct api url
const hitlApi = new HitlApi({
token: `FLOW ${this.config.flowToken}`,
hitlUrl: this.config.env.HITL_API_URL,
});
// with service discovery(slower)
const hitlApi = new HitlApi({
token: `FLOW ${this.config.flowToken}`,
discoveryUrl: this.config.env.SERVICE_DISCOVERY_API_URL,
});
const contactRuleGroupsList = await hitlApi.contactRuleGroups.searchContactRuleGroups();
After when you initialize the HitL Api,
various entities are available at your service with which you can work
(all entities presented in api
folder )
const HitlApi = require('@or-sdk/hitl').HITL;
const { agents, cannedMessages, filters, ... } = new HitlApi(...);
const agentsList = await agents.getAgents();
const cannedMessages = cannedMessages.getCannedMessages({ id });
const HitlMigrationsApi = require('@or-sdk/hitl').EKS;
// with direct api url
const hitlMigrationsApi = new HitlEksApi({
token: `FLOW ${this.config.flowToken}`,
hitlEksUrl: 'https://hitl.svc.<client-env>.api.onereach.ai',
});
// with service discovery(slower)
const hitlMigrationsApi = new HitlEksApi({
token: `FLOW ${this.config.flowToken}`,
discoveryUrl: this.config.env.SERVICE_DISCOVERY_API_URL,
});
await hitlMigrationsApi.migrations.runAllMigrations();
const status = await hitlMigrationsApi.migrations.getRunMigrationsStatus();
FAQs
Unknown package
We found that @or-sdk/hitl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.