-
Decompose all subtasks required to accomplish this task into a dependency graph of nodes.
-
Spawn agents to work through this dependency graph.
- Note:
wait_for_agenttool can be buggy—may need to call it multiple times.
- Note:
-
Manage/orchestrate Voicetree MCP agents to work through the dependency graph.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fs from 'fs'; | |
| import path from 'path'; | |
| import { defineConfig } from 'tsup'; | |
| // INFO: This is the only place you need to update when adding new entry folders | |
| const entryFolders = ['primitives', 'ui']; | |
| function getAllFilesInDirectory(dirPath: string): string[] { | |
| return fs.readdirSync(dirPath).reduce<string[]>((allFiles, file) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Convert a sematic versioning string into an 32-bit integer. | |
| * | |
| * Make sure the input string is compatible with the standard found | |
| * at semver.org. Since this only uses 10-bit per major/minor/patch version, | |
| * the highest possible SemVer string would be 1023.1023.1023. | |
| * @param {string} version SemVer string | |
| * @return {number} Numeric version | |
| */ | |
| const convertVersionToInt32 = function(version) { |
Ref: getsentry/sentry-javascript#4071 (comment)
Used more or less like:
{
provide: APP_INTERCEPTOR,
useClass: TracingInterceptor,
},
{
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { GraphQLScalarTypeConfig } from "graphql"; | |
| import { GraphQLScalarType } from "graphql"; | |
| import { DateTimeResolver } from "graphql-scalars"; | |
| import { DateTime } from "luxon"; | |
| export const GraphQLDateTimeConfig: GraphQLScalarTypeConfig<DateTime, DateTime> = | |
| { | |
| name: "DateTime", | |
| description: "An ISO8601 date-time string represented by a Luxon DateTime instance.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import * as R from 'ramda'; | |
| import cube from '../../utils/cube'; | |
| import TableContainer from './Table'; | |
| import { getAllResultSetDataFromResultSetDict } from '../../utils/cube.utils'; | |
| import { | |
| sortByRowRollupValue, | |
| sumColumnRollupRecordsToGrandTotalRecord, | |
| } from '../helpers/rollupOrderedPatientAgeGroupDrilldownTableHelpers'; |
I think most of us realize that macOS isn't a Linux OS, but what that also means is that instead of shipping with the GNU flavor of command line tools, it ships with the FreeBSD flavor. As such, writing shell scripts which can work across both platforms can sometimes be challenging.
Homebrew can be used to install the GNU versions of tools onto your Mac, but they are all prefixed with "g" by default.
All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AWSTemplateFormatVersion: 2010-09-09 | |
| Description: > | |
| Constructs a managed IAM policy to deploy a serverless project. | |
| This template assumes the stack is being deployed in the current region and account. | |
| You can then attach this policy to other IAM objects, such as users or roles. | |
| Based on the work done in: https://github.com/serverless/serverless/issues/1439 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Convert a sematic versioning string into an 32-bit integer. | |
| * | |
| * Make sure the input string is compatible with the standard found | |
| * at semver.org. Since this only uses 10-bit per major/minor/patch version, | |
| * the highest possible SemVer string would be 1023.1023.1023. | |
| * @param {string} version SemVer string | |
| * @return {number} Numeric version | |
| */ | |
| const convertVersionToInt32 = function(version) { |
NewerOlder