@mindstudio-ai/remy 0.1.287 → 0.1.288

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/headless.js CHANGED
@@ -1963,10 +1963,11 @@ function stripDollarKeys(envelope) {
1963
1963
  }
1964
1964
 
1965
1965
  // src/tools/common/searchGoogle.ts
1966
+ var FETCH_TOP_N = 5;
1966
1967
  var searchGoogleTool = {
1967
1968
  definition: {
1968
1969
  name: "searchGoogle",
1969
- description: "Search Google and return results. Use for research, finding documentation, looking up APIs, or any task where web search would help.",
1970
+ description: "Search Google and return results. Use for research, finding documentation, looking up APIs, or any task where web search would help. The top results come back with their page content already included, so read those before reaching for scrapeWebUrl \u2014 you only need that for URLs this did not return, or for a result further down the list.",
1970
1971
  inputSchema: {
1971
1972
  type: "object",
1972
1973
  properties: {
@@ -1981,7 +1982,15 @@ var searchGoogleTool = {
1981
1982
  async execute(input, context) {
1982
1983
  const query = input.query;
1983
1984
  return runMindstudioCli(
1984
- ["search-google", "--query", query, "--export-type", "json"],
1985
+ [
1986
+ "search-google",
1987
+ "--query",
1988
+ query,
1989
+ "--export-type",
1990
+ "json",
1991
+ "--fetch-top-n",
1992
+ String(FETCH_TOP_N)
1993
+ ],
1985
1994
  {
1986
1995
  outputKey: "results",
1987
1996
  maxBuffer: SEARCH_MAX_BUFFER,
@@ -4750,9 +4759,10 @@ __export(searchGoogle_exports, {
4750
4759
  definition: () => definition,
4751
4760
  execute: () => execute
4752
4761
  });
4762
+ var FETCH_TOP_N2 = 5;
4753
4763
  var definition = {
4754
4764
  name: "searchGoogle",
4755
- description: 'Search Google for web results. Reserch modern design trends in industries or verticals, "best [domain] apps 2026", ui patterns, or find something specific if the the user has an explicit reference. Searching for and reading case studies is a great way to get information and context about a project\'s domain. Prioritize authoritative sources like Figma and other design leaders, avoid random blog spam. Pick one or more URLs from the results and then use `scrapeWebUrl` to get their text content.',
4765
+ description: 'Search Google for web results. Reserch modern design trends in industries or verticals, "best [domain] apps 2026", ui patterns, or find something specific if the the user has an explicit reference. Searching for and reading case studies is a great way to get information and context about a project\'s domain. Prioritize authoritative sources like Figma and other design leaders, avoid random blog spam. The top results come back with their page content already included, so read those directly \u2014 only use `scrapeWebUrl` for a result further down the list, or for a URL this did not return.',
4756
4766
  inputSchema: {
4757
4767
  type: "object",
4758
4768
  properties: {
@@ -4766,7 +4776,15 @@ var definition = {
4766
4776
  };
4767
4777
  async function execute(input, onLog) {
4768
4778
  return runMindstudioCli(
4769
- ["search-google", "--query", input.query, "--export-type", "json"],
4779
+ [
4780
+ "search-google",
4781
+ "--query",
4782
+ input.query,
4783
+ "--export-type",
4784
+ "json",
4785
+ "--fetch-top-n",
4786
+ String(FETCH_TOP_N2)
4787
+ ],
4770
4788
  {
4771
4789
  outputKey: "results",
4772
4790
  onLog,
package/dist/index.js CHANGED
@@ -1509,16 +1509,17 @@ var init_runMindstudioCli = __esm({
1509
1509
  });
1510
1510
 
1511
1511
  // src/tools/common/searchGoogle.ts
1512
- var searchGoogleTool;
1512
+ var FETCH_TOP_N, searchGoogleTool;
1513
1513
  var init_searchGoogle = __esm({
1514
1514
  "src/tools/common/searchGoogle.ts"() {
1515
1515
  "use strict";
1516
1516
  init_runMindstudioCli();
1517
1517
  init_runCli();
1518
+ FETCH_TOP_N = 5;
1518
1519
  searchGoogleTool = {
1519
1520
  definition: {
1520
1521
  name: "searchGoogle",
1521
- description: "Search Google and return results. Use for research, finding documentation, looking up APIs, or any task where web search would help.",
1522
+ description: "Search Google and return results. Use for research, finding documentation, looking up APIs, or any task where web search would help. The top results come back with their page content already included, so read those before reaching for scrapeWebUrl \u2014 you only need that for URLs this did not return, or for a result further down the list.",
1522
1523
  inputSchema: {
1523
1524
  type: "object",
1524
1525
  properties: {
@@ -1533,7 +1534,15 @@ var init_searchGoogle = __esm({
1533
1534
  async execute(input, context) {
1534
1535
  const query = input.query;
1535
1536
  return runMindstudioCli(
1536
- ["search-google", "--query", query, "--export-type", "json"],
1537
+ [
1538
+ "search-google",
1539
+ "--query",
1540
+ query,
1541
+ "--export-type",
1542
+ "json",
1543
+ "--fetch-top-n",
1544
+ String(FETCH_TOP_N)
1545
+ ],
1537
1546
  {
1538
1547
  outputKey: "results",
1539
1548
  maxBuffer: SEARCH_MAX_BUFFER,
@@ -5819,7 +5828,15 @@ __export(searchGoogle_exports, {
5819
5828
  });
5820
5829
  async function execute(input, onLog) {
5821
5830
  return runMindstudioCli(
5822
- ["search-google", "--query", input.query, "--export-type", "json"],
5831
+ [
5832
+ "search-google",
5833
+ "--query",
5834
+ input.query,
5835
+ "--export-type",
5836
+ "json",
5837
+ "--fetch-top-n",
5838
+ String(FETCH_TOP_N2)
5839
+ ],
5823
5840
  {
5824
5841
  outputKey: "results",
5825
5842
  onLog,
@@ -5828,15 +5845,16 @@ async function execute(input, onLog) {
5828
5845
  }
5829
5846
  );
5830
5847
  }
5831
- var definition;
5848
+ var FETCH_TOP_N2, definition;
5832
5849
  var init_searchGoogle2 = __esm({
5833
5850
  "src/subagents/designExpert/tools/searchGoogle.ts"() {
5834
5851
  "use strict";
5835
5852
  init_runMindstudioCli();
5836
5853
  init_runCli();
5854
+ FETCH_TOP_N2 = 5;
5837
5855
  definition = {
5838
5856
  name: "searchGoogle",
5839
- description: 'Search Google for web results. Reserch modern design trends in industries or verticals, "best [domain] apps 2026", ui patterns, or find something specific if the the user has an explicit reference. Searching for and reading case studies is a great way to get information and context about a project\'s domain. Prioritize authoritative sources like Figma and other design leaders, avoid random blog spam. Pick one or more URLs from the results and then use `scrapeWebUrl` to get their text content.',
5857
+ description: 'Search Google for web results. Reserch modern design trends in industries or verticals, "best [domain] apps 2026", ui patterns, or find something specific if the the user has an explicit reference. Searching for and reading case studies is a great way to get information and context about a project\'s domain. Prioritize authoritative sources like Figma and other design leaders, avoid random blog spam. The top results come back with their page content already included, so read those directly \u2014 only use `scrapeWebUrl` for a result further down the list, or for a URL this did not return.',
5840
5858
  inputSchema: {
5841
5859
  type: "object",
5842
5860
  properties: {
@@ -243,13 +243,19 @@ full report. The dataset report says whether the ledger is trainable (pairs with
243
243
  attached `trace` don't count), and a run produces a downloadable LoRA adapter plus a
244
244
  held-out agreement report: how often the trained model matched your team's decisions
245
245
  on pairs it never saw. The adapter and report land in the app's own file store
246
- (`models/` in the Files dashboard), so the user can download them there. Read
247
- `report.grading.agreement` — it is scored by the jewel's own grade function, the same
248
- grader as the pairs dashboard. The raw `agreement` field is a strict byte-level floor
249
- that undercounts whenever free-text fields differ; never quote it when `grading`
250
- exists (`mindstudio-prod jewels grade <runId>` re-grades if it is missing). The
251
- trained model is an artifact and a report for now; serving it inside the app is a
252
- later platform phase, so set that expectation honestly when a user asks.
246
+ (`models/` in the Files dashboard), so the user can download them there. The
247
+ agreement number is `report.grading.agreement` — scored by the jewel's own grade
248
+ function, the same grader as the pairs dashboard; there is no other agreement field.
249
+ A completed run without a `grading` block just hasn't been graded yet
250
+ (`mindstudio-prod jewels grade <runId>` fills it). A completed run registers the
251
+ app's tuned model as a real model id `tuned/{appId}/{methodId}`, one stable id per
252
+ method that retraining advances in place and the latest complete run per method is
253
+ automatically served on the platform's GPU pool, so that id works like any other
254
+ model the moment training finishes. There is no special invoke tool: to sanity-check
255
+ or demo a tuned model, make an ordinary generate-text call with that model id (the
256
+ pool serves it with the exact template posture it was trained under). Promotion (the
257
+ app actually switching a jewel onto its tuned model) is still a deliberate later
258
+ step; do not wire a tuned model into app code unprompted.
253
259
 
254
260
  ## Arrival Triggers (`mindstudio.jewels.propose`)
255
261
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/remy",
3
- "version": "0.1.287",
3
+ "version": "0.1.288",
4
4
  "description": "Remy coding agent",
5
5
  "repository": {
6
6
  "type": "git",