@cognite/cli 0.6.0-alpha.8 → 0.7.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.
@@ -1,10 +0,0 @@
1
- ---
2
- to: '<%= useCurrentDir ? "" : ((directoryName || name) + "/") %>.cursor/mcp.json'
3
- ---
4
- {
5
- "mcpServers": {
6
- "cdf-datamodeling-mcp": {
7
- "command": "npx cdf-datamodelling-mcp-server"
8
- }
9
- }
10
- }
@@ -1,10 +0,0 @@
1
- ---
2
- to: '<%= useCurrentDir ? "" : ((directoryName || name) + "/") %>.cursor/rules/rules.mdc'
3
- ---
4
- ---
5
- description: Describes global rules
6
- alwaysApply: true
7
- ---
8
-
9
- - Use direct `@cognite/aura/components` exports whenever Aura provides the component you need. Fall back to custom markup only when Aura does not expose an equivalent primitive.
10
- - Follow the SPEC.md handling rules in `AGENTS.md` §0.
@@ -1,8 +0,0 @@
1
- import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
2
- var d=Object.create;var o=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var x=(l,i,e)=>i in l?o(l,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[i]=e;var s=(l,i)=>o(l,"name",{value:i,configurable:!0}),E=(l=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(l,{get:(i,e)=>(typeof require<"u"?require:i)[e]}):l)(function(l){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+l+'" is not supported')});var v=(l,i)=>()=>(l&&(i=l(l=0)),i);var I=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports),L=(l,i)=>{for(var e in i)o(l,e,{get:i[e],enumerable:!0})},r=(l,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of k(i))!f.call(l,t)&&t!==e&&o(l,t,{get:()=>i[t],enumerable:!(n=m(i,t))||n.enumerable});return l};var O=(l,i,e)=>(e=l!=null?d(g(l)):{},r(i||!l||!l.__esModule?o(e,"default",{value:l,enumerable:!0}):e,l)),C=l=>r(o({},"__esModule",{value:!0}),l);var F=(l,i,e)=>x(l,typeof i!="symbol"?i+"":i,e);import{execFileSync as y}from"child_process";import{createRequire as S}from"module";import{InvalidArgumentError as P}from"commander";var c="cognitedata/builder-skills",a=["claude-code","cursor"],u=a.flatMap(l=>["-a",l]),b=S(import.meta.url).resolve("skills/bin/cli.mjs");function p(l,i={}){y(process.execPath,[b,...l],{stdio:"inherit",cwd:process.cwd(),...i})}s(p,"execSkillsCli");function G(){return["add",c,...u,"--skill","*","-y"]}s(G,"pullAllArgs");function h(l){if(!/^[\w.-]+\/[\w.-]+$/.test(l))throw new P("Expected owner/repo format (e.g., cognitedata/builder-skills)");return l}s(h,"validateSource");function w(l){let i=["add",l.source,...u];return l.skill?i.push("--skill",l.skill):l.interactive||i.push("--skill","*","-y"),l.global&&i.push("--global"),i}s(w,"buildPullArgs");function A(l){console.log(`\u{1F504} Pulling skills from ${l.source}...`),p(w(l)),console.log(`
3
- \u2705 Skills pulled successfully`)}s(A,"handlePull");function M(l){let i=l.command("skills").summary("Manage AI agent skills for your Dune app").description(`Manage AI agent skills for your Dune app.
4
- Supports: ${a.join(", ")}`).addHelpText("after",`
5
- Examples:
6
- npx @cognite/dune skills pull Pull all skills
7
- npx @cognite/dune skills pull --skill create-client-tool Pull a specific skill
8
- npx @cognite/dune skills list List installed skills`);return i.command("pull").description("Pull all skills into your project").option("--source <owner/repo>","Skills repository",h,c).option("--skill <name>","Pull a specific skill by name").option("-i, --interactive","Interactively select which skills to install",!1).option("--global","Install skills globally",!1).action(A),i.command("list").description("List installed skills").action(()=>{p(["list"])}),i}s(M,"registerSkillsCommand");export{s as a,E as b,v as c,I as d,L as e,O as f,C as g,F as h,p as i,G as j,w as k,M as l};
@@ -1,2 +0,0 @@
1
- import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
2
- import{i as a,j as b,k as c,l as d}from"./chunk-GFMJ4MJZ.js";export{c as buildPullArgs,a as execSkillsCli,b as pullAllArgs,d as registerSkillsCommand};