nlook-mcp 1.0.65 → 1.0.67

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/dist/api-client.js +18 -18
  2. package/package.json +1 -1
@@ -646,67 +646,67 @@ export class NLookAPIClient {
646
646
  // Agent APIs
647
647
  // ============================================================
648
648
  async listAgents() {
649
- return this.request('/api/v1/agents');
649
+ return this.request('/api/v1/public/agents');
650
650
  }
651
651
  async getAgent(agentId) {
652
- return this.request(`/api/v1/agents/${agentId}`);
652
+ return this.request(`/api/v1/public/agents/${agentId}`);
653
653
  }
654
654
  async createAgent(data) {
655
- return this.request('/api/v1/agents', { method: 'POST', body: JSON.stringify(data) });
655
+ return this.request('/api/v1/public/agents', { method: 'POST', body: JSON.stringify(data) });
656
656
  }
657
657
  async updateAgent(agentId, data) {
658
- return this.request(`/api/v1/agents/${agentId}`, { method: 'PUT', body: JSON.stringify(data) });
658
+ return this.request(`/api/v1/public/agents/${agentId}`, { method: 'PUT', body: JSON.stringify(data) });
659
659
  }
660
660
  async deleteAgent(agentId) {
661
- return this.request(`/api/v1/agents/${agentId}`, { method: 'DELETE' });
661
+ return this.request(`/api/v1/public/agents/${agentId}`, { method: 'DELETE' });
662
662
  }
663
663
  // ============================================================
664
664
  // Skill APIs
665
665
  // ============================================================
666
666
  async listSkills() {
667
- return this.request('/api/v1/skills');
667
+ return this.request('/api/v1/public/skills');
668
668
  }
669
669
  async getSkill(skillId) {
670
- return this.request(`/api/v1/skills/${skillId}`);
670
+ return this.request(`/api/v1/public/skills/${skillId}`);
671
671
  }
672
672
  async createSkill(data) {
673
- return this.request('/api/v1/skills', { method: 'POST', body: JSON.stringify(data) });
673
+ return this.request('/api/v1/public/skills', { method: 'POST', body: JSON.stringify(data) });
674
674
  }
675
675
  async updateSkill(skillId, data) {
676
- return this.request(`/api/v1/skills/${skillId}`, { method: 'PUT', body: JSON.stringify(data) });
676
+ return this.request(`/api/v1/public/skills/${skillId}`, { method: 'PUT', body: JSON.stringify(data) });
677
677
  }
678
678
  async deleteSkill(skillId) {
679
- return this.request(`/api/v1/skills/${skillId}`, { method: 'DELETE' });
679
+ return this.request(`/api/v1/public/skills/${skillId}`, { method: 'DELETE' });
680
680
  }
681
681
  // ============================================================
682
682
  // Schedule APIs
683
683
  // ============================================================
684
684
  async listSchedules() {
685
- return this.request('/api/v1/workflow-schedules');
685
+ return this.request('/api/v1/public/workflow-schedules');
686
686
  }
687
687
  async createSchedule(workflowId, data) {
688
- return this.request(`/api/v1/workflows/${workflowId}/schedules`, { method: 'POST', body: JSON.stringify(data) });
688
+ return this.request(`/api/v1/public/workflows/${workflowId}/schedules`, { method: 'POST', body: JSON.stringify(data) });
689
689
  }
690
690
  async updateSchedule(workflowId, scheduleId, data) {
691
- return this.request(`/api/v1/workflows/${workflowId}/schedules/${scheduleId}`, { method: 'PUT', body: JSON.stringify(data) });
691
+ return this.request(`/api/v1/public/workflows/${workflowId}/schedules/${scheduleId}`, { method: 'PUT', body: JSON.stringify(data) });
692
692
  }
693
693
  async deleteSchedule(workflowId, scheduleId) {
694
- return this.request(`/api/v1/workflows/${workflowId}/schedules/${scheduleId}`, { method: 'DELETE' });
694
+ return this.request(`/api/v1/public/workflows/${workflowId}/schedules/${scheduleId}`, { method: 'DELETE' });
695
695
  }
696
696
  // ============================================================
697
697
  // Run APIs
698
698
  // ============================================================
699
699
  async listRuns() {
700
- return this.request('/api/v1/workflow-runs');
700
+ return this.request('/api/v1/public/workflow-runs');
701
701
  }
702
702
  async getRun(workflowId, runId) {
703
- return this.request(`/api/v1/workflows/${workflowId}/runs/${runId}`);
703
+ return this.request(`/api/v1/public/workflows/${workflowId}/runs/${runId}`);
704
704
  }
705
705
  async startRun(workflowId, data) {
706
- return this.request(`/api/v1/workflows/${workflowId}/runs`, { method: 'POST', body: JSON.stringify(data) });
706
+ return this.request(`/api/v1/public/workflows/${workflowId}/runs`, { method: 'POST', body: JSON.stringify(data) });
707
707
  }
708
708
  async deleteRun(workflowId, runId) {
709
- return this.request(`/api/v1/workflows/${workflowId}/runs/${runId}`, { method: 'DELETE' });
709
+ return this.request(`/api/v1/public/workflows/${workflowId}/runs/${runId}`, { method: 'DELETE' });
710
710
  }
711
711
  }
712
712
  //# sourceMappingURL=api-client.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nlook-mcp",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "description": "NLook MCP Server for Claude Desktop and AI tools integration",
5
5
  "main": "dist/index.js",
6
6
  "bin": {