framer-dalton 0.0.15 → 0.0.16
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/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ import { z } from 'zod';
|
|
|
10
10
|
import { fileURLToPath } from 'url';
|
|
11
11
|
import { createTRPCClient, httpLink } from '@trpc/client';
|
|
12
12
|
|
|
13
|
-
/* @framer/ai CLI v0.0.
|
|
13
|
+
/* @framer/ai CLI v0.0.16 */
|
|
14
14
|
var __defProp = Object.defineProperty;
|
|
15
15
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
16
16
|
function openUrl(url) {
|
|
@@ -14982,7 +14982,7 @@ __name(renderDocs, "renderDocs");
|
|
|
14982
14982
|
// src/version.ts
|
|
14983
14983
|
var VERSION = (
|
|
14984
14984
|
// typeof is used to ensure this can be used just via tsx or node etc. without build
|
|
14985
|
-
"0.0.
|
|
14985
|
+
"0.0.16"
|
|
14986
14986
|
);
|
|
14987
14987
|
|
|
14988
14988
|
// src/relay-client.ts
|
|
@@ -13,7 +13,7 @@ import { createRequire } from 'module';
|
|
|
13
13
|
import * as vm from 'vm';
|
|
14
14
|
import { connect } from 'framer-api';
|
|
15
15
|
|
|
16
|
-
/* @framer/ai relay server v0.0.
|
|
16
|
+
/* @framer/ai relay server v0.0.16 */
|
|
17
17
|
var __defProp = Object.defineProperty;
|
|
18
18
|
var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
|
|
19
19
|
var __typeError = (msg) => {
|
|
@@ -93,7 +93,7 @@ __name(log, "log");
|
|
|
93
93
|
// src/version.ts
|
|
94
94
|
var VERSION = (
|
|
95
95
|
// typeof is used to ensure this can be used just via tsx or node etc. without build
|
|
96
|
-
"0.0.
|
|
96
|
+
"0.0.16"
|
|
97
97
|
);
|
|
98
98
|
|
|
99
99
|
// src/relay-client.ts
|
|
@@ -12,7 +12,6 @@ allowed-tools: ["Bash(npx framer-dalton:*)", "Bash(npx framer-dalton@latest:*)",
|
|
|
12
12
|
## Rules
|
|
13
13
|
|
|
14
14
|
- For design/layout work, do not use low-level node APIs (`createNode`, `setAttributes`, `setRect`, etc.). Use the canvas editing flow (`read-project` + `apply-changes`) with the embedded prompt and project context in this skill.
|
|
15
|
-
- Canvas editing agent methods are employee-only.
|
|
16
15
|
- During normal task execution, do not call `framer.getAgentSystemPrompt()` or `framer.getAgentContext()`. This skill already includes `getAgentContext({ pagePath: "/" })`.
|
|
17
16
|
- `npx framer-dalton read-project -s <sessionId> -q <queries> -p <pagePath>` reads project state. Start with page structure only, then request additional targeted queries only if needed. Query types are documented in the embedded prompt below. Never guess names for examples, icon sets, or fonts; look them up first.
|
|
18
17
|
- `npx framer-dalton apply-changes -s <sessionId> -p <pagePath> -e <dsl>` applies canvas DSL changes. After applying changes, re-read project state to inspect results and iterate with `read-project` + `apply-changes` until accurate.
|
package/docs/skills/framer.md
CHANGED
|
@@ -52,6 +52,8 @@ Create a session:
|
|
|
52
52
|
npx framer-dalton session new "<url or id>"
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
+
Note that during beta, you cannot connect to non-beta projects. If creating a session errors with a message about this, you need to move your project to beta.
|
|
56
|
+
|
|
55
57
|
#### 2. Look up the API (before EVERY code execution)
|
|
56
58
|
|
|
57
59
|
**You MUST run `npx framer-dalton docs` before writing any code.** Do not guess method names or signatures.
|