@malloy-publisher/create-malloy-package 0.0.30 → 0.0.32
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/index.js +1 -1
- package/package.json +3 -3
- package/templates/AGENTS.md +5 -5
package/dist/index.js
CHANGED
|
@@ -573,7 +573,7 @@ var MCP_PORT = 4040;
|
|
|
573
573
|
var ALT_PUBLISHER_PORT = PUBLISHER_PORT + 100;
|
|
574
574
|
var ALT_MCP_PORT = MCP_PORT + 100;
|
|
575
575
|
var BIND_HOST = "127.0.0.1";
|
|
576
|
-
var SERVER_VERSION = "0.9.
|
|
576
|
+
var SERVER_VERSION = "0.9.6";
|
|
577
577
|
function startCommandFor(envName) {
|
|
578
578
|
return `npx -y @malloy-publisher/server@${SERVER_VERSION} --server_root . ` + `--config ./publisher.config.json --host ${BIND_HOST} ` + `--watch-env ${envName}`;
|
|
579
579
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloy-publisher/create-malloy-package",
|
|
3
3
|
"description": "Scaffold a Malloy Publisher package and a local agent workspace, so one command takes you from nothing to an agent that can query your data.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.32",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"test:e2e": "bun test --timeout 180000 ./tests/e2e"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@malloy-publisher/skills": "^0.1.
|
|
48
|
+
"@malloy-publisher/skills": "^0.1.36",
|
|
49
49
|
"commander": "^12.1.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"eslint": "^8.50.0",
|
|
60
60
|
"typescript": "^5.3.3"
|
|
61
61
|
},
|
|
62
|
-
"publisherServer": "0.9.
|
|
62
|
+
"publisherServer": "0.9.6"
|
|
63
63
|
}
|
package/templates/AGENTS.md
CHANGED
|
@@ -206,8 +206,8 @@ model, `malloy-analysis` to answer questions, and `malloy-review` to check Mallo
|
|
|
206
206
|
correctness.
|
|
207
207
|
|
|
208
208
|
Read the gotchas before you write, not after you fail: `malloy-gotchas-modeling` for
|
|
209
|
-
sources, dimensions, measures and joins, `malloy-
|
|
210
|
-
queries, and `malloy-
|
|
209
|
+
sources, dimensions, measures and joins, `malloy-queries` for views and
|
|
210
|
+
queries, and `malloy-charts` for chart and formatting tags. They hold the
|
|
211
211
|
traps that cost the most time on a first model, including the two that a column of
|
|
212
212
|
real data usually springs:
|
|
213
213
|
|
|
@@ -221,6 +221,6 @@ real data usually springs:
|
|
|
221
221
|
`avg(nullif(score, 'NA')::number)`. Where the two skills disagree,
|
|
222
222
|
`malloy-gotchas-modeling` is the correct one.
|
|
223
223
|
|
|
224
|
-
When something does not compile,
|
|
225
|
-
error: it covers reading Malloy's
|
|
226
|
-
clears the rest of a 20-error cascade.
|
|
224
|
+
When something does not compile, read "When a Model Will Not Compile" in
|
|
225
|
+
`malloy-gotchas-modeling` rather than guessing at the error: it covers reading Malloy's
|
|
226
|
+
messages, and why fixing the first error usually clears the rest of a 20-error cascade.
|